Chapter5 Example2: used $httpBackend instead of service mocking