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 |
How to create and use custom pipes? How to create a globally available custom pipe?
What are the concept of scope hierarchy? Tell me how many scope can an application have?
What is transpiling?
How to updating angular cli?
Explain the different types of streams present in node.js?
What is p table in angular?
How can someone set, get, and clear cookies in angularjs?
What is architecture overview of angular?
What is the difference between an annotation and a decorator in angular?
How to update to angular 5?
When did you use currency filter in angularjs?
In angular 2 module consist of what arrays?