why would the responseInterceptors start the spinner?
Thanks

On Monday, July 9, 2012 8:05:43 AM UTC-5, Nikolaos Dimopoulos wrote:
>
> You can use an interceptor (written by Adam Webber) which intercepts every 
> ajax request and performs an action on it (show/hide spinner)
>
> http://jsfiddle.net/niden/86L5p/ 
>
> HTH
>
> The contents of this message may contain confidential or privileged 
> information and is intended solely for the recipient(s). Use or 
> distribution to and by any other party is not authorized. If you are not 
> the intended recipient, copying, distribution or use of the contents of 
> this information is prohibited.
>
>
> On Sun, Jul 8, 2012 at 10:56 PM, Ali <[email protected] <javascript:>>wrote:
>
>> Hi All, 
>>  I am using $resource from angular js1.0.1 and I would like to add an 
>> ajax loading indicator to the page.
>>  
>>  In JQuery, I used the following:
>>
>> $.ajaxSetup{beforeSend: function(){$('.ajax-loading 
>> img').show()},complete: function(){ $('.ajax-loading img').hide()}}
>>
>> Is there anything similar to this in angularjs
>>
>> Thanks
>> Ali
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "AngularJS" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/angular/-/AsHJ6n4mcBEJ.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/angular?hl=en.
>>
>
>

-- 
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