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 are differences between template and templateurl?
What do you mean by templateref and viewcontainerref?
What is the use of ngafterviewinit?
What is angular model?
What is the difference between angular 2 and angularjs?
What an angular 5 component made of?
What do I have to do to trick the browser into doing what I want?
What is angular framework?
What are angular directives used for?
What does ng stand for?
What do you mean by directives?
What is representational state transfer (rest) in angularjs?