javascript - AngularJS: Temporarily disable data binding. -


is possible temporarily disable data binding in angularjs. have list items render using ng-repeat. want list operations on items, while data-binding temporarily disabled, intermediary changes not reflected on page thereby slowing down. instead want perform operations on list , thereafter re-enable data binding.

var items = angular.copy($scope.items); .. .. .. /* perform operations on items */ .. .. .. $scope.items = angular.copy(items); 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

angularjs - ng-repeat duplicating items after page reload -