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
Please explain package.json file in angular?
How do you check if angular cli is installed?
What is deep linking in angular js?
Explain what are directives ? Mention some of the most commonly used directives in Angular.js application ?
How can we show that a scope variable should have one-time binding only?
What is dirty checking in angular?
What is angular base elements?
Difference between functional hoisting and variable hoisting?
What is templateref and viewcontainerref?
What directives support animations?
Is pipe a system call?
Can you please explain what is testability like in angular?
Which are the core directives of angular js?
How do we display errors in a component view with angular 2?
New html element?