I'm trying to apply filter on a list of objects but I can't manage to make it work. I've read that AngularJS does not provide "out of box" multiples objects filtering, may be that's why it's not working?
Here is my code:
<div class="list list-inset">
<label class="item item-input" id="events-search">
<i class="icon ion-search placeholder-icon"></i>
<input type="text" placeholder="Rechercher parmis les evenements" ng-model="nsearch">
</label>
</div>
<div class="list">
<a class="item item-thumbnail-left" href="#" ng-repeat="info in infos | filter:nsearch">
<img src="xxx">
<h2>{{ info.name }}</h2>
<p>{{ info.date}} à {{ info.hour }}</p>
</a>
</div>
For example, "infos" value would be something like:
Q5PAvIQ2x8TLNkZmhTr59s984ALI5s10 { name: "This is an event", ... }, jj8oB6WemYVsGZ1FSm31DFBtSlM0pfZK { name: "This is a second event", ... }
I'm trying to filter by name.
Does anyone have an idea?... thanks!