Hi

   I am trying to have an automatic update of the view of an array of 
elements returned by a service using ng-repeat. The problem is that, if I 
add elements to my array in my service, this change is not automatically 
reflected by the ng-repeat of my view. I have to leave the page and come 
back (or force refresh) to see the change.
I have made a plunker to try to show the issue: 
http://plnkr.co/edit/ZVgBoQEUs8IX8yskHDLF
If you run the code for a few seconds, you will see that the number of 
displayed "values" would stop around 4 or 5 values whereas the "Number of 
values" variable is correctly updated.
So it looks like the ng-repeat function used to display individual values 
stopped to be called after a few updates.
Any idea about the reason of this behaviour and how to fix it?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to