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 write expression in angularjs?
How to delete a row in angular js?
What is routerlinkactive in angular?
What are the components of a css style?
What is an injector?
Do you think that parent controller can access the methods of child controller or vice versa?
What is the difference between component and directive?
Define factory method in angularjs.
How to read data from the server?
What are directive behaviors?
What is aot?
How would you control size of an element on resize of the window in a component?