Angular filter - conditionally and by properties