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 |
List some cons or disadvantages of using angularjs?
What is the global api in angularjs?
Explain the types of linking function?
What is meant by decorator in angular?
What are differences between template and templateurl?
What are angular filters?
Explain angular js boot process.
What is tree shaking?
Explain AngularJS scope life-cycle?
Which components can be injected as a dependency in angular js?
What are factory method in angularjs?
Is a directive legally binding?