Answer Posted / chaitanya
The $rootScope is the top-most scope. An app can have only one $rootScope which will be shared among all the components of an app. Hence it acts like a global variable. All other $scopes are children of the $rootScope.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do components communicate with each other in angular 2?
What type of angular js date format?
Mention some advantages of using angular js framework.
How event emitters works in angular 2?
Explain ngfor and ngif?
What are the core components of angular 2?
What are pipes in angular 2?
What is a scope in AngularJS?
What is typescript ?
How to debug the $rootscope object of angularjs when in the browser?
What is ng-init in angularjs?
What is injectable in angular2?
How can you increase the performance of your angular application or decrease digest cycle time?
What do you mean by zone in angular 6?
Mention what are the styling form that model adds to css classes?