You can try using $httpProvider.interceptors.
Refer: https://docs.angularjs.org/api/ng/service/$http


On Mon, Mar 30, 2015 at 3:46 PM, Jonathan Price <[email protected]>
wrote:

> We're building an ionic mobile application, and I need to handle resource
> requests that never return.  I was hoping to has some sort of universal
> timeout for all of my resources (say, bail out if the server doesn't
> respond within 10 seconds), but I'm not really sure how to proceed.  Any of
> you doing something like this?
>
> --
> 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.
>



-- 
*Rishi Tandon*
Pearson Learning Technology Group

Mobile: (310) 926-9032

Pearson
Always Learning
Learn more at www.pearson.com

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