Explain directives? What are inbuilt directives available in angularjs?



Explain directives? What are inbuilt directives available in angularjs?..

Answer / Rashmi Tripathi

Directives in AngularJS are custom HTML tags, attributes, or CSS class names that change the behavior of existing HTML elements. Inbuilt directives include ng-app, ng-controller, ng-model, ng-repeat, ng-view, ng-bind, and ng-class, as well as several others. Directives help in data binding, form handling, repeating elements, and conditionally rendering HTML.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What are the differences in ngmodules and javascript modules?

1 Answers  


How to access parent scope from child controller in angularjs?

1 Answers  


Can AngularJS have multiple ng-app directives in a single page?

1 Answers  


Explain Two-way and One-way data binding in AngularJS?

1 Answers  


Why do we use ts instead of js?

1 Answers  


How can we create a component using angular cli?

1 Answers  


Is angular dying because of react?

1 Answers  


What is ng-content Directive?

1 Answers  


How will you explain auto bootstrap process in angularjs?

1 Answers  


What is a decorator function?

1 Answers  


How to set authorization headers in get/post/put requests in angular?

1 Answers  


What is interceptor in angular?

1 Answers  


Categories