angularjs add a model layer

Issue I am using angular with rails backend and I am using $resource to interact backend API. so I have a User service which is a $resource instance App.factory(‘User’, [‘$resource’, function($resource) { return $resource(‘/users/:id’,{id: ‘@id’}); }]) Now I can use

Continue reading