Cognizant interview question

Angular JS filters