If item matches the Array element filter the result have the below json structure
[{"id": "1", "name":"product1","items": ["item1","item2"],},
{"id": "2", "name":"product2","items": ["item4","item3"],},
{"id": "3", "name":"product3","items": ["item5","item1"],}]
Requirement is if i select item1 from drop down i need to filter the entire object which contains item1. I am new to angular js can any one help me out