// 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"});
  }
})();

@@ -278,16 +278,20 @@
 : %22@id%22%7D
+, %7B%7D
 );%0A  %7D%0A%7D

Add empty object to $resource