function Resource($resource) {
  return $resource('/api/resources/:id');
}

Resource.$inject = ['$resource'];

angular
  .module("CodePouch")
  .factory("Resource", Resource);

@@ -63,16 +63,36 @@
 ces/:id'
+,%7B%0A    id: '@id'%0A  %7D
 );%0A%7D%0A%0ARe

update resource service to show the id