Lets assume I have a list of items that are rendered from $scope.items
using ng-repeat
. This list is fairly large and updated regularly, but only single items are updated at a time, eg. 12 updates on Item 2, then 2 updates on Item 359, then 89 updates on Item 1071, etc.
From what I understand, updating the single items in $scope.items
list will cause AngularJS to rerender the complete list, even if most items have not changed at all. This seems like a pointless thing and can surely handled in a more efficient way. I could use tools like jquery and update the DOM myself, but that seems to defeat the point of AngularJS in a big way. Is there any way in AngularJS to update single list elements in an ng-repeat
generated model?