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 |
Explain about lifecycle hook in angular?
How to create a new project in angular js using cli?
What is @output in angular?
What is unit testing in angular 2 and also explain its benefits?
What is modular view engine architecture?
Which are the core directives of angular js?
What is Data Binding? How Many Types Of Data Binding Directives Are Provided By AngularJS?
Why you used angular 2?
What is one way data binding in angularjs?
Which is better react or angular?
What is internationalization in angularjs?
What is difference between value and constant?