$scope.loadingIndicator.hide(); is deprecated