What is $scope and $rootScope?
Answer / 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 |
What is share module?
How AngularJS compilation is different from other JavaScript frameworks?
What are @injectable providers?
How to use dependency injection (di) correctly in angular 2?
What is a controller javascript?
How to use primeng in angular 4?
What is templateref and viewcontainerref?
What is routerstate in routers?
How angular 4 is different from angular 2?
What is the digest cycle in angularjs?
What is a promise in angular?
What are the types of linking function?