AngularJs : List Polling -
i'm using angular $interval
service grab data backend periodically using $ngresource
.
each time i'm getting new list backend, i'm replacing old 1 new one. display list in template using ng-repeat
.
the issue approach : each time data update, interface blinks. plus, if selected text in list, selection disappears each list refresh.
is there easy way keep frontend , backend list synced appart of forloop on new data , pushing them in old 1 ?
Comments
Post a Comment