typo on e2e test
use  to follow the protractor recommendation
Revert usage of $interval to $window.setTimeout for performance