Currently testing some angularJS with this particular example
http://www.w3schools.com/angular/tryit.asp?filename=try_ng_filters_filter
<ul>
<li ng-repeat="x in names | filter : 'i'">
{{ x }}
</li>
</ul>
Is there a way to apply filtering for multiple selections? For instance, I have a model containing all car information. The user is able to select a list of IDs int[] SelectedCars
from a tree list.
My intention is to achieve something similar to the following:
<ul>
<li ng-repeat="x in names | filter : SelectedCars[]">
{{ x }}
</li>
</ul>