There are 3 types of directives in angular.
i) Structural
ii) Attribute
iii) Component
Structural Directives :-Change the DOM layout by adding and removing elements.
Attribute Directives :-Change the appearance and behaviour of HTML elements.
Component Directive :-Directive with the templates.It's like user control.
No comments:
Post a Comment