Pergunta de entrevista da empresa HSBC

What are angular components and their lifecycle hooks?