//= 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};
}

@@ -202,12 +202,21 @@
     
-null
+%7B%22id%22: %22@id%22%7D
 ,%0A  

Update NgDomain.js