Pergunta de entrevista da empresa Crowell & Moring

How would you go about making a directive in Angular?