andreareginato/oauth-ng — pull request #47 by abuecker (2014-10-29 15:59:32+00:00)
Title: fix(protractor): Replace $timeout with $interval

Protractor E2E tests timeout and fail while waiting on all $timeouts()
to complete. Basically, protractor is waiting for the token to expire.
Thankfully, protractor does not wait until $interval() functions are
complete, since they are typically used for polling events. Using an
$interval with a count of 1 is essentially the same thing as calling
$timeout and the protractor tests pass.