LBi Software Interview Question

What is a directive in Angular?

Interview Answer

Anonymous

Apr 12, 2019

A directive is used for controlling the flow of information in a page. Directives such as ng:for are used ti print elements in a array, ng:if checks whether an element is present.