73
rated 0 times
[
80]
[
7]
/ answers: 1 / hits: 37415
/ 9 Years ago, sun, may 31, 2015, 12:00:00
Have a set of objects in an array (items array) that have property
item_id:
[{item_id:1,...},{item_id:2,...}...]
Have another array with a set of
item_ids:
[2, 8, 10]
How do I use the $filter of angularjs to get array of objects from items array where item_id
matches those in item_ids
array.
More From » arrays