I have the following code where I have a nested ng-repeat and also uses filter and limitTo options in the inner ng-repeat
Here I have very less items in my set. But in my real case, I have about 1000 items in both outer and inner loop. But I face problem with using ng-repeats for huge set - Angular JS ng-repeat consumes more browser memory
So I had my own ng-repeat which reduced memory usage by considerable amount:
But Can I use the filter and limitTo options similar to the ng-repeat above here in my custom ng-repeat directive?
Note: The Inner ng-repeat will not always have limit as 5. I have inner scroll for the inner ng-repeat and have a watch on that which when inner scroll reaches end, increases limit by 5.
Any help is much appreciated!
The closest I tried is: http://jsfiddle.net/WqSGR/29/
But can someone help with how to apply watch on the searchText so that the filter works?
 
     
    