What is restrict option in directive?



What is restrict option in directive?..

Answer / chaitanya

The restrict option in angular directive, is used to specify how a directive will be invoked in your angular app i.e. as an attribute, class, element or comment.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is routerlink?

0 Answers  


Is angular object oriented?

0 Answers  


Explain what is a factory method in angularjs?

0 Answers  


How will you implement autorefresh in angularjs?

0 Answers  


How can we achieve internationalization using angular 2 ?

0 Answers  






What does the ng stand for in angular?

0 Answers  


What are the differences between angular and angular js?

0 Answers  


What is pure pipe?

0 Answers  


Differentiate between Observables and Promises?

0 Answers  


What is flex layout in angular?

0 Answers  


Is angular difficult?

0 Answers  


What is a template variable. How would you use it?

0 Answers  


Categories