1) the page loading spinner can be implemented as follows:
<span ng-show="isViewLoading"> loading the view... <span>
$scope.isViewLoading = false; $scope.$on('$routeChangeStart', function() { $scope.isViewLoading = true; }); $scope.$on('$routeChangeSuccess', function() { $scope.isViewLoading = false; });
2) data loading spinner can be implemented as $http interceptor