Quick backendless development with AngularJS

  • It would seem logical to put your mock data into JSON files, and return these when running without a live backend, keeping the code nice and succinct and readable.
  • Using Http Interceptors to serve mock data
  • I came across the blog post: Data mocking in angular E2E testing , which describes an alternate approach to serving mock data for testing.

Read the full article, click here.


@anorakgirl: “Quick write up of some #angularjs I was fiddling with the other day”


There are occasions when you want to run your AngularJS app without accessing a live REST API. There are various blog posts on the internet about doing this using $httpBackend, which is part of angular-mocks and very handy for unit testing.


Quick backendless development with AngularJS | anorak:girl

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.