Open jean-morissette opened 8 years ago
That's a good question and I'm open to suggestions. Two ideas off the top of my head:
ng-if="ngf('some_list', i, 'some_prop').indexOf(searchText)"
i
and otherwise operates similar to the above.What do you think?
First, congratulations for your library!
Consider this example:
<div class="todo-list-item" ng-repeat="i in range | filter:searchText">
Since it performs a loop on indices, instead of JSON objects, how is-it possible to use the angular filter in this case?
Or would you recommend another approach to filter a list?
Thanks!