Pergunta de entrevista da empresa Geval6

difference between directive and component?