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 angular material design?
How to validate data in angular js?
What are events binding in angular 4?
Can you explain a situation, when to use dependency injection in angularjs?
What are the advantages of AngularJS?
Do you know what is services in angular.js?
Tell me does Angular use the jQuery library?
What is the difference between ngroute and ui-router?
What happens when the page containing angular based application loads?
How angular 4 is different from angular 2?
What is the key difference between angular expressions and javascript expressions?
How to set, get and clear cookies in angularjs?