old_contents: //= wrapped
  
  angular
      .module("${moduleName}")
      .factory("${className}", ${className});
  
  function ${className}(\$resource) {
      var ${className} = \$resource(
          "${propertyName}/:id",
          null,
          {"update": {method: "PUT"}, "list": {method: "GET", isArray: true}}
      );
      return ${className};
  }
  
new_contents: //= wrapped
  
  angular
      .module("${moduleName}")
      .factory("${className}", ${className});
  
  function ${className}(\$resource) {
      var ${className} = \$resource(
          "${propertyName}/:id",
          {"id": "@id"},
          {"update": {method: "PUT"}, "list": {method: "GET", isArray: true}}
      );
      return ${className};
  }
  
subject: Update NgDomain.js