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 ivy renderer in angular 6?

0 Answers  


How to perform animation in angular?

0 Answers  


Explain about services in Angular.js ?

0 Answers  


Why do we need provider aliases?

0 Answers  


What is Component in Angular Terminology?

0 Answers  






What the best way to inject one service into another in angular 2?

0 Answers  


What are different Angular form properties?

0 Answers  


What is the difference between javascript and ecmascript?

0 Answers  


What is the name of directive is used to bootstrap an angular app?

0 Answers  


How did you hidden (not hide) the element in jquery?

0 Answers  


What is a ngmodule?

0 Answers  


What is 'no control flow statements' in angularjs?

0 Answers  


Categories