adspace
What are the different custom directive types in angularjs?
Answer Posted / Tanuj Kumar
{n 'answer': 'n In AngularJS, custom directives are used to extend the functionality of HTML elements. There are three types of custom directives:n 1. Attribute Directives - Manipulate DOM by changing attributes (e.g., ng-class, ng-show).n 2. Element Directives - Create a new custom HTML tag (e.g., ng-repeat, ng-controller).n 3. Class Directives - Used as a standalone component (e.g., ngModel, ngStyle).n '}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers