Cognizant Interview Question

Related to basic angular stuff