using $httpBackend to mock some data while I build the front end to a rest API.
I can pass data to the request just fine but not sure how to load that data from a file.
Here is a gist of what I have and what I think would be better https://gist.github.com/alnutile/11305280
Thanks
Al