Is it possible to filter angular.js by containment in another array?
Update Here’s an angular module (based on @InviS answer) to easily implement this filter inside your angular application: filters-inArrayFilter Here’s the angular filters approach based on @InviS answer: The filter should be like this: .filter(‘inArray’, function($filter){ return function(list, arrayFilter, element){ if(arrayFilter){ return $filter(“filter”)(list, function(listItem){ return arrayFilter.indexOf(listItem[element]) != -1; }); } }; }); where list is … Read more