Cognizant interview question

Angular jS routing