$rootscope
An angular application contains a single $rootscope. All other $scope present in an angular application are the child objects. The $rootscope object is the parent of all other $scope objects.
The behavior attached to $rootscope is available to all the controllers present in that particular angular application. It means the properties and methods attached to it can be accessed by all controllers.
NOTE- The difference between $scope object and $rootscope object is that behavior attached with $rootscope is available for all the controllers while behavior attached with $scope is attached with a specific controller in which it is defined.
Watch video Scope Inheritance, Scope & Controllers, Root scope,--angularjs $rootScopeEX with diff controllers online without registration, duration hours minute second in high quality. This video was added by user Java Entertainment All 06 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 138 once and liked it 1 people.