blob: 604866986579dd0e30c8ea816d1df03b92594d67 [file] [log] [blame]
(function() {
'use strict';
{{#if description}}
/*
* {{description}}
*/
{{/if}}
angular.module('{{ngModule}}')
{{#each resources}}
.service('{{name}}', function($resource){
return $resource('{{param.href}}'{{#if param.name}}, { {{param.name}}: '@id' }{{/if}});
})
{{/each}}
})();