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 i18n and L10n?
Did you use scss?
List the new features of angular 2?
What is a singleton pattern and where we can find it in angular?
Why we use ng app in angularjs?
Explain viewencapsulation?
How prevents html dom based cross site scripting (xss) attacks?
What are the differences between $resource and $http?
What are the advantages of using angular.js framework?
How to update angular 4,5, 6 to angular 7?
How to disable a control or element in angularjs?
What is the difference between Factory, Service and Provider?