blob: 604866986579dd0e30c8ea816d1df03b92594d67 [file] [log] [blame]
Matteo Scandolofbd486c2016-04-13 10:19:55 -07001(function() {
2 'use strict';
3 {{#if description}}
Matteo Scandolo4b3bf7f2016-04-12 11:38:40 -07004
Matteo Scandolofbd486c2016-04-13 10:19:55 -07005 /*
6 * {{description}}
7 */
8 {{/if}}
Matteo Scandolo4b3bf7f2016-04-12 11:38:40 -07009
Matteo Scandolofbd486c2016-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})();