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

Please explain package.json file in angular?

728


How do you check if angular cli is installed?

580


What is deep linking in angular js?

563


Explain what are directives ? Mention some of the most commonly used directives in Angular.js application ?

622


How can we show that a scope variable should have one-time binding only?

569


What is dirty checking in angular?

588


What is angular base elements?

654


Difference between functional hoisting and variable hoisting?

594


What is templateref and viewcontainerref?

595


What directives support animations?

1316


Is pipe a system call?

525


Can you please explain what is testability like in angular?

553


Which are the core directives of angular js?

631


How do we display errors in a component view with angular 2?

591


New html element?

642