I have that code:
<label>Ages: <input type="text" ng-model="objProp2AgesFilter" /></label><br />
<table>
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="p in items">
<td>{{p.name}}</td>
</tr>
</tbody>
</table>
items array looks like:
[{
name: 'tst1',
ages: [1,2,3]
},{
name: 'tst2',
ages: [2,3,4]
}]
How to filter that items, whose contain value e.g. 4 in the ages array ?