Responding with the contents of a file when using $httpBackend

19 views
Skip to first unread message

Alfred Nutile

unread,
Apr 25, 2014, 7:45:14 PM4/25/14
to ang...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages