Lightweight AngularJS poller service which can be easily injected into controllers. It uses a timer and sends requests every few seconds to keep the client synced with the server. Angular Poller supports $resource, $http and Restangular.
{{data1.greeting}}
{{data2 ? data2.greeting : 'Try starting the second poller.'}}