I need to filter a list of items by their category. I want the user to be able to click a button, and then have the filter applied to a list.
At the moment, I have t
In case someone wants to use the filter on the JavaScript side you can do it like:
$scope.filtered = $filter('filter')($scope.movieList, { genre.name: filters.genre}, true);
Notice the true at the end... it indicates that is to search for the exact match.