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 |
How to disable right click event in angularjs?
How to create a block component dynamically on click of drop down?
What is a singleton pattern? How do you use it?
How to setup angular 4 development environment?
How would you select a custom component to style it?
How do you check if angular cli is installed?
What’s the difference between http and httpclient?
Is angular backward compatible?
what is directive and mention what are the different types of directive?
What is the purpose of forroot method in angular 4?
In what ways can you use a directive?
What does spa (single page application) mean? How can we implement spa with angular?