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 is @ngmodule in angular 2? Explain
Is angular asynchronous?
Explain ngif directive ?
What is the use of $locale service in angularjs?
How can we share the data between controllers in angularjs?
Doadd(1,2) doadd(1,2,3,4) use the above arguments to sum the value. Using without any parameter receive throught the function.?
Can we use react in angular?
Define ng-if, ng-show and ng-hide.
What are the different types of directives?
How to install angular 4? Explain
How to use styleurls and styles in angular 2?
What are custom directives?
What is directive in angularjs?
Is angularjs a framework?
List the types of data binding supported by angular 5?