mercredi 18 février 2015

capture "no internet connection" in AngularJS


I would like my AngularJS app to capture "no internet connection" just like how Chrome captures it. When Chrome captures it, it shows net::ERR_INTERNET_DISCONNECTED on the console.log.


Angular's HTTP interceptor is not able to capture it. The only data I get is rejection.data.status undefined rejection.status 0





Aucun commentaire:

Enregistrer un commentaire