seriema / angular-apimock

Automatically route your API calls to static JSON files, for hiccup free front–end development.
johansson.jp/angular-apimock
MIT License
65 stars 8 forks source link

Mock only certain calls #7

Closed seriema closed 10 years ago

seriema commented 10 years ago

As suggested by @ceoaliongroo, allow individual calls to be mocked.

Example call:

$http({
  method: 'GET',
  url: 'http:/server/people',
  apiMock: true // 
})
seriema commented 10 years ago

Seems good enough.