65
rated 0 times
[
72]
[
7]
/ answers: 1 / hits: 57010
/ 10 Years ago, mon, december 22, 2014, 12:00:00
If I have a complex object with objects as property values, how can I filter by one of the nested properties?
Can this be done with the OOB ng-repeat filter?
Data
{
Name: 'John Smith',
Manager: {
id: 123,
Name: 'Bill Lumburg'
}
}
ngRepeat
<li ng-repeat=e in emps | filter:Manager.Name>{{ e.Name }}</li>
More From » json