TODO Points to cover: Don't mock services in tests (i.e. don't create a deferred object, return it, and manually resolve it). Only mock the actual boundaries of your system, i.e., the http call (using $httpBackend) Please enable JavaScript to view the comments powered by Disqus.