APPINIO interview question

An Angular coding challenge was given.