3 ms·
Common things I have encountered: $scope.$watch()ing large arrays unnecessarily will be the death of you Using ng-show where there is complex render logic in
by nikon 12y ago
Common things I have encountered:
$scope.$watch()ing large arrays unnecessarily will be the death of you
Using ng-show where there is complex render logic in that element, consider ng-ifs to remove from DOM completely
Using track by in ng-repeats can help
We had simple screens which would hide any symptoms of bad practices but once you have an 'overview' screen with 10 different lists, many different show/hide forms etc the page can get slow very quickly.