LTIMindtree interview question

Angular directives explain in brief