fixed promise typecasting
Merge branch 'master' of github.com:cpitt/angular-promise-poller