From http://stackoverflow.com/questions/11996857/how-to-use-parameters-within-the-filter-in-angularjs