I am using urish/angular-spinner but it is not working when I try to use 
it in controller through $scope.startSpin() and $scope.stopSpin(); 

Please find my plunker at 
http://plnkr.co/edit/z4t3rmJZl6ceq3LNPvGO?p=preview. Here the spinner is 
starting when it is supposed to stop. After the spinner starts it never 
stops!!!!. Any fix for this, please ????

The following is my code for starting and stopping spinner.

 $scope.startSpin();    
    DashboardsDataService.getNetSpendOverTimeData()
      .then(function(data) {
        $scope.data = data;
        $scope.stopSpin();  
      }); 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to