Checking online status in AngularJS
From Wiki2
Checking online status in AngularJS
Often apps can do useful work while offline. While online and connected to the server additional functionality is enabled. Knowing if a device is connected to the internet or if its server is available is the subject of this article.
tags: interceptors, polling, $interval