What is default scope in a angularjs directive?



What is default scope in a angularjs directive?..

Answer / Nagender Choudhary

In an AngularJS directive, the default scope is the parent scope of the element on which the directive is applied. If the directive doesn't define its own scope, it inherits properties and functions from the default scope.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How to use sharedmodule in angular2?

1 Answers  


What are the key components of angular?

1 Answers  


What is one-way bindings?

1 Answers  


What is a template in angularjs?

1 Answers  


Difference between angular 2, 4, 5, 6, &7?

1 Answers  


How do you disable a button depending on a checkbox’s state?

1 Answers  


How can you use factory method in angularjs?

1 Answers  


How are you managing cookie in AngularJS

1 Answers   Virtusa,


What is the difference between service and factory?

1 Answers  


Is angular material open source?

1 Answers  


How can you create a decorator in angular?

1 Answers  


Is angular 2 mobile oriented?

1 Answers  


Categories