Cognizant Interview Question

Angular JS filters