Angular.js filter to add class to specific items in list
<p>How do you create a (custom) filter that doesn't remove items from a ng-repeat list but rather adds classes to the items that (don't) match the expression? Or would you rather go for a service based approach?</p>