Hi Tom, The way you do this isn't the most efficient way, Your result data get's piped trough 5 filters. A couple of them need to traverse your entire data-set. This is ok(ish) for a small data-set, but if it grows this becomes a serious lag. For myself I would replace all those filters with just 1 custom made filter, that can extract the data you need in 1 go. Also I would optimize it in such a way, that if it has enough data to populate the view, you can stop, and return the result. Also ad an 'track by' to your ng-repeat, then angular can make more efficient use of the data.
Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
