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

python - matpltolib navigation toolbar edit curves and parameters line color automatically changes issue -

node.js - Nodejs javascript implementation of PBEWithMD5AndTripleDES/CBC/PKCS5Padding -