$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.
In questa pagina del sito puoi guardare il video online Scope Inheritance, Scope & Controllers, Root scope,--angularjs $rootScopeEX with diff controllers della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Java Entertainment All 06 marzo 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 146 volte e gli è piaciuto 1 spettatori. Buona visione!