Use $interval instead of pollingFactory
Merge pull request #215 from amdprophet/refactor_polling

Use $interval instead of pollingFactory