There is a Timeout option in the $http specs. You pass it in your config.
- timeout – {number|Promise} – timeout in milliseconds, or promise
<https://docs.angularjs.org/api/ng/service/$q> that should abort the
request when resolved.
--
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.