This is just the thing that makes an `Api` service possible. In Sport Admin we'd have a factory that looks something like this:

```
angular.module('sportAdmin').factory('Api', function(ResourceManager) {
  return new ResourceManager([
    { ... }, // tournament
    { ... }, // league
    { ... }  // etc
  ])
})
```

Then use it as `Api.Tournament.query()`