What is Isolate Scope and why it is required?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is json web token?

620


What is the difference between a provider, a service and a factory in angular?

598


Explain currency filter?

597


What is export array in angular 2?

601


How are the services injected to your application?

543


What is internationalization in angularjs?

577


Global variables in angularjs?

610


Explain The Directives Ng-If, Ng-Switch, And Ng-Repeat?

594


Explain what is angular expression? Explain what is the key difference between angular expressions and javascript expressions?

603


What is location path?

531


How to use styleurls and styles in angular?

598


Why should I use angular?

562


What is angularjs latest version?

555


Please explain formgroup and formcontrol in angular?

593


How to do login and logout using ionic 3 and angular 4?

597