blob: 604866986579dd0e30c8ea816d1df03b92594d67 [file] [log] [blame]
Matteo Scandolo1dc8f3f2016-04-13 10:19:55 -07001(function() {
2 'use strict';
3 {{#if description}}
Matteo Scandoloc7987cd2016-04-12 11:38:40 -07004
Matteo Scandolo1dc8f3f2016-04-13 10:19:55 -07005 /*
6 * {{description}}
7 */
8 {{/if}}
Matteo Scandoloc7987cd2016-04-12 11:38:40 -07009
Matteo Scandolo1dc8f3f2016-04-13 10:19:55 -070010 angular.module('{{ngModule}}')
11 {{#each resources}}
12 .service('{{name}}', function($resource){
13 return $resource('{{param.href}}'{{#if param.name}}, { {{param.name}}: '@id' }{{/if}});
14 })
15 {{/each}}
16})();