$rootScope refers to an object which is accessible from everywhere of the application we can say it is a global scope of the variable.
$rootScope is a parent object of all whereas $scope angular objects created in a web page.
**$scope** is created with **ng-controller** while **$rootscope** is created with **ng-app**
.