LBi Software interview question

What is a directive in Angular?

Interview Answer

Anonymous

12 Apr 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.