Define directives in angularjs.



Define directives in angularjs...

Answer / Ravi Krishnan

In AngularJS, a directive is a mechanism to extend and customize HTML by adding new attributes, elements, or behaviors. n- An attribute directive modifies the behavior of an existing HTML element. n- An element directive creates a new HTML element with its own behavior. n- A class directive changes the behavior of an existing HTML class. n- AngularJS also provides built-in directives like ngModel, ngRepeat, and ngShow.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is eventemitter angular2?

1 Answers  


What is the meaning of aot?

1 Answers  


How to use the json object in ng-repeat?

1 Answers  


What are the services in angular js?

1 Answers  


What is angular 2?

1 Answers  


What is AtScript?

1 Answers  


Define scope in angular js.

1 Answers  


Is lazy loading good?

1 Answers  


What are angular directives used for?

1 Answers  


How does scope inheritance work in angularjs?

1 Answers  


What is pure pipe?

1 Answers  


What is angular 6 and why it is used?

1 Answers  


Categories