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 make an ajax call using angular js?
Why do we use ts instead of js?
How to communicate between parent and child components?
What are angular decorators?
In how many ways the Data Binding can be done?
What does tree shaking mean?
How do ng models work?
How to format a date in angularjs?
Explain currency filter?
Explain module in AngularJS?
What is the difference between constructor and ngonlnit in angular js?
Explain the concept of scope hierarchy?