I had a similar problem, and I started with a simple .json file, as ganaraj suggested, but switched to a simple node.js server when I needed to test the data modification.
ngMockE2e is really used for testing and is not intended to actually serve a RESTful server. In the example from the link you provided, if you want to run GET for a specific phone, you will need to go through the array of phones to find the one you need.
source share