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 api in angular?

0 Answers  


What are angular templates?

0 Answers  


What are the main features in angular js?

0 Answers  


Explain the reasons that compel a web developer to choose angularjs for his web development project?

0 Answers  


How do you exchange data among different modules of your angular js application?

0 Answers  






what is di (dependency injection) and how an object or function can get a hold of its dependencies?

0 Answers  


Is node js faster than java?

0 Answers  


Explain $templatecache in angularjs?

0 Answers  


What is routes and route properties?

0 Answers  


Explain ng-disabled directive?

0 Answers  


What is ngmodule decorator?

0 Answers  


Does angular use ajax?

0 Answers  


Categories