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
Explain event emitters in angular 2 and how it works?
What are the directives in angularjs?
How to perform animation in angular?
What is main ts file?
What is the use of bearer token?
What is the urlsegment interface in angular 7?
How to sanitize a value manually?
What is the single page application (spa)?
How can someone make an ajax call using angularjs?
What string interpolation is in angularjs?
How to use the json object in ng-repeat?
What would you consider a thing you should be careful doing on onnginit()?
What is the use of ngfortrackby directive?
What is an impure pipe?
What is tsconfig json in angulr 2?