I understand to filter an object in ng-repeat you do:
<div ng-repeat = "name in names | filter: {name: 'David'}"></div>
however, what if I want to show 'David' and 'Andrew'
I have tried
<div ng-repeat = "foo in fooObj | filter: {name: 'David' && 'Andrew'}"></div>
and
<div ng-repeat = "foo in fooObj | filter: {name: 'David'} | filter: {name: 'Andrew'}"></div>
Both don't work the way I want to. Is this a case where I need a custom filter or is there something in the API i'm not seeing?