Switches from $timeout to $interval to support running Protractor tests
Set interval to undefined on stopping poller.
Removed redundant if statement.
Updated angular-poller.min.js.