I use a lot of ng-repeats in my code. What I'd love to do is define
somewhere at app initialization that, unless I specify otherwise: 'track by
item.$id' is what I want to do, and that there should always be a
filter:{_error:undefined} on the ng-repeat microsyntax as well.
I *could* probably just define my own local-repeat with transclusion that
constructs the ng-repeat's transclusion. I may end up doing it that way
instead, just because it's an enormous PITA to go through my code and make
sure all the track by stuff is correct.
I haven't seen any documentation that would indicate this is possible on
the ng-repeat directly, but I figured it's a common enough issue- drying up
the microsyntax - and I might as well ask how other people are handling it.
e
--
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/d/optout.