I have an ng-repeat like so:
item in items | filter:myFilter | page:currentPage
I'd like to know the current number of items that filter:myFilter results in for pagination. However, this answer will result in both filters being applied (and the pagination will think there's only one page of results).
How can I conditionally apply filters to a variable created in an ng-repeat?