How can i filter the results of an array based on an other array in ng-repeat.
Array i want to filter:
[
[
'gender': 'male',
'languages': ['German', 'English'],
'country': 'Marocco'
],
[
'gender': 'female',
'languages': ['German', 'French'],
'country': 'Kosovo'
]
]
I want to to filter by this object:
| filter:{'languages': ['Urdu', 'French'], 'country': ['Kosovo']}
Expected result:
[
'gender': 'female',
'languages': ['German', 'French'],
'country': 'Kosovo'
]