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 the spa (single page application) in angularjs?
What is angular 4?
What is currency filter in angularjs?
Is primefaces free?
How would you specify that a scope variable should have one-time binding only?
What are custom directives in angular?
Why is dom used?
Why do we use angular material?
What is singleton class in angular?
What are directives in angular 6?
How to get actions of event binding in angular 4?
Explain the validation feature in angularjs?