What is Isolate Scope and why it is required?



What is Isolate Scope and why it is required?..

Answer / chaitanya

By default, directives have access to the parent scope in AngularJS apps. Hence, you can write your custom directive code based on parent scope. If the parent scope changes at all the directive is no longer useful.

The shared scope allows the parent scope to flow down into the directive but the Isolate scope doesn’t allow the parent scope to flow down into the directive.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is decorator in angular 2?

0 Answers  


Explain the angularjs factory?

0 Answers  


What is singleton in angularjs?

0 Answers  


Explain ng-model directive?

0 Answers  


What is httpclient in angular?

0 Answers  






What is ng in angular?

0 Answers  


What is ng app in angular?

0 Answers  


How to starting angular 4 apps using ionic 3 cli commands?

0 Answers  


What is the difference between routermodule.forroot() vs routermodule.forchild()? Why is it important?

0 Answers  


What are custom directives in angular?

0 Answers  


Explain the use of @injectable()?

0 Answers  


What is directives in angular?

0 Answers  


Categories