Angular Poller service uses a timer and sends requests every few seconds to keep the client synced with the server.
AngularJSangularpollerpoller-serviceangular-poller
https://github.com/emmaguo/angular-poller.git