- Shallow list watch (ngRepeat uses deep watch)
- Animations support
- Special service to cause list render outside of digest cycle
- Smooth scrolling even on heavy compited lists (check example)
- About 200% performance boost
- Still hesitating? Try to scroll page with ng-repeat list and a page with quick-ng-repeat
Require quick-ng-repeat.js
to your project and use this syntax in your templates:
<ul>
<li quick-ng-repeat="item in list" quick-repeat-list="items">
{{ item.name }}
</li>
</ul>
In quick-ng-repeat directive everything is done to make is really fast. So we store a special callback with name of this attribute. This is a full answer
- Compare
example/index.html
(uses quickNgRepeat) andexample/index_classic.html
(uses classic NgRepeat)
Directive live example in ./example
Try out the demo (try to scroll): page with ng-repeat list and page with quick-ng-repeat
cd example && python -m SimpleHTTPServer