LTM Limited interview question

Angular directives explain in brief