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 |
What is decorator in angular 2?
Explain the angularjs factory?
What is singleton in angularjs?
Explain ng-model directive?
What is httpclient in angular?
What is ng in angular?
What is ng app in angular?
How to starting angular 4 apps using ionic 3 cli commands?
What is the difference between routermodule.forroot() vs routermodule.forchild()? Why is it important?
What are custom directives in angular?
Explain the use of @injectable()?
What is directives in angular?