Angular approach for the challenge (only the front end)