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


Please Help Members By Posting Answers For Below Questions

How we can read a file in node js?

571


Is node js losing popularity?

590