$rootScope A $rootScope angular directive is using to support a global accessing for variables and function in a module. Angular $rootScope is live of scope object from the module. $rootScope declare any one controller it will allow to accessing all controller no any restriction for implement. Will include the $rootScope directive from the controller library loader time. Sample $rootScope Declaration var app = angular.module('rootModule',[]); app.controller('firstController',['$scope','$rootScope',function($scope, $rootScope){ console.log('first'); }]); Program Example Html: <div ng-app="rootModule"> <div ng-controller="firstController"> Click count : {{count}} <input type="button" value="click" ng-click="countCal()" /...