old_contents: // js/services/user.service
  
  (function() {
    "use strict";
  
    angular.module("NoteWrangler")
      .factory("User", UserFactory);
  
    UserFactory.$inject = ["$routeParams", "$resource"];
  
    function UserFactory($routeParams, $resource) {
      return $resource("/api/users/:id", {id: "@id"});
    }
  })();
  
new_contents: // js/services/user.service
  
  (function() {
    "use strict";
  
    angular.module("NoteWrangler")
      .factory("User", UserFactory);
  
    UserFactory.$inject = ["$routeParams", "$resource"];
  
    function UserFactory($routeParams, $resource) {
      return $resource("/api/users/:id", {id: "@id"}, {});
    }
  })();
  
subject: Add empty object to $resource