mock $httpBackend
mock $timeout, $interval