Can anyone explain the difference between $scope and $rootScope?
I think
We can get ng-model properties in particular cont
"$rootScope” is a parent object of all “$scope” angular objects created in a web page.
$scope is created with ng-controller while $rootscope is created with ng-app.
ng-controller
ng-app