Explain rootScope in Angular

$rootScope refers to an object which is accessible from everywhere of the application. Every application has a single root scope. All other scopes are descendant scopes of the root scope.

results matching ""

    No results matching ""