Let's say I have a list of 5000 items I need to render on a page, but for performance reasons only 100 of these are going to be displayed at any given time depending on how far the page is scrolled (users scrolls down the page, new HTML elements rendered from my list, old one are destroyed).Can you point me towards direction on how to implement it correctly with AngularJS? For example should I create my own repeater directive? Or, is it possible to use the existing ngRepeeater and add a derective for HTML element which will be responsible for destroying itself when element goes away from page's view during scroll?
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en.
I'd like to make it work without flickering. I assume that ngRepeat re-renders all the items when the list is changed, to make it work more smoothly new items should be added, old ones removed and the once which are still within the visible area should be kept as they are. In order to do that I should implement custom ngRepeat, right?
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en.
--