Qus: what is a directive in Angular and how many types of directives are there in Angular?
1. Components : Directives with a template.
2. Structural Directives : Change the DOM layout by adding and removing the DOM elements.
3.Atribute Directive : Change the appearances and behavior of elements, components or another directive.