blob: d326a515e2163efc4ab2d2e89195d378d607be6e [file] [log] [blame]
Matteo Scandoloc7987cd2016-04-12 11:38:40 -07001'use strict';
2{{#if description}}
3
4/*
5 * {{description}}
6 */
7{{/if}}
8
9angular.module('{{ngModule}}')
10{{#each resources}}
11.service('{{name}}', function($resource){
12 return $resource('{{param.href}}'{{#if param.name}}, { {{param.name}}: '@id' }{{/if}});
13})
14{{/each}}