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
What is the traceur compiler?
What are the directives in angularjs?
What is lazy loading images?
Explain .config() and .run() methods in angularjs?
How do you use $filter?
How to declare a component in angular 2?
What is the difference between $evalasync and $timeout in angularjs?
Explain directive scopes in angularjs?
How to using looping through a collection for each item in angular js?
How many types of ngmodule?
What is the use of $event?
What is eager loading in angular 4?
When did you use currency filter in angularjs?
what is angular expression?
What are the difference between component and directive in angular 2?