Plunker: http://plnkr.co/edit/MvFFP0YDt55VOFEQxJFI?p=preview
Trying to pass a function name as predicate into
$filter('orderBy')(collection, 'functionName') and it dosen't seem to be
evaluating the function at all. Not sure why - if I'm using the standard
orderBy tag in {{ }}, it works fine.
Thanks!
--
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.