I'm part of a team with front-end and back-end developers. At times, the front-end team needs to make REST requests to an http address or REST-resource that hasn't been implemented yet.
Within ngMockE2E, I've come across the $httpBackend service which seems like it could be quite useful in this situation. My question is, how can I mock only certain urls or rest resources?
For most requests, such as GET /users.json, I want them to go through to the backend server normally. However, while waiting for requests like GET /users/tommy/profile.json to be implemented by the back-end team, it would be helpful to have some sort of "pretend response" or mocking capability so we can continue our work. How should one approach this?
Appreciate any guidance :)