Prefer use of $httpBackend mock where possible.