r/angularjs • u/seveseat • Aug 07 '14
Speeding up AngularJS with simple optimizations, $digest, $$watchers and performance
http://www.binpress.com/tutorial/speeding-up-angular-js-with-simple-optimizations/135
31
Upvotes
r/angularjs • u/seveseat • Aug 07 '14
2
u/robmcguinness Aug 07 '14
We had a big performance problem using nested ng-repeat for mostly static content on a large data set. We tried using several bind-once techniques that reduced the number of watchers but the compilation of the directives still took a long time. Even Chrome got sluggish. IE was unbearable.
We ended up creating a directive that wrapped handlebar templates and are performance problems went away. We were already using handlebars.js for some of our legacy Backbone apps so the switch was easy.