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 |
What is data binding in angularjs and what is the difference between one-way and two-way binding?
Explain what is testability like in Angular?
Is angular open source?
Which one handles exception automatically between $digest and $apply?
Why is dom used?
What are differences between template and templateurl?
What is internationalization?
Can you bootstrap multiple angular applications on same element?
What is the difference between structural and attribute directives in angular?
How to disable a control or element in angularjs?
How do you use $filter?
Is AngularJS a templating system?