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 to write expression in angularjs?
What is pipe in networking?
How to rollback the whole object when navigating back to a page managed by angular router in angular 8?
How would you control size of an element on resize of the window in a component?
How to debug angular 4 projects from visual studio 2017?
What is @ngmodule in angular 2? Explain
Explain $q service, deferred and promises.
Give the example of angularjs strings?
What is mvc5?
What is horizontal projection?
What are directive words?
What is encapsulation in angular?
Difference between services and factory.
Can react be used with php?
How does scope inheritance work in angularjs?