This is the controller with the routing:
https://github.com/js-data/js-data-examples/blob/master/server/sql/app/app.js#L103-L169
And what you do have inside your controllers is actually the Repository.
Also, {any}Service should be called {any}Model, excepting the messageService.
This is the controller with the routing:
https://github.com/js-data/js-data-examples/blob/master/server/sql/app/app.js#L103-L169
And what you do have inside your controllers is actually the Repository.
Also,
{any}Serviceshould be called{any}Model, excepting themessageService.