HCLTech interview question

Basic angular question.