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
What are http interceptors used for?
Just-in-time (jit) compiles the app in the browser, at runtime, as the application loads – this is the standard development approach. Jit is useful for development, but its performance concerns me – how would jit scale for enterprise-level applications?
What is an oauth token?
Which is better angular material or bootstrap?
What is the use of decorators in angular?
Explain ng-init directive ?
List some difference between angularjs and angular 2?
Explain the concept of scope hierarchy?
Write ajax call syntax?
What can I do with react js?
Is angularjs a framework, library or a plugin?
Difference between ng-bind and ng-model directive.
What are event emitters?
What are angular observables?
Why did they skip angular 3?