ngRepeat Filter by deep property

前端 未结 4 1445
一向
一向 2020-11-27 03:40

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?

4条回答
  •  执笔经年
    2020-11-27 04:11

    You need to pass in the argument to filter by:

    
    
    • {{e.Name}} (Manager: {{e.Manager.Name}})

    Example on Plunker

提交回复
热议问题