Repository for AngularJS polling Application