Added ngDoc to generated API
diff --git a/views/ngXosLib/apigen/ngResourceTemplate.handlebars b/views/ngXosLib/apigen/ngResourceTemplate.handlebars
index 6048669..6176633 100644
--- a/views/ngXosLib/apigen/ngResourceTemplate.handlebars
+++ b/views/ngXosLib/apigen/ngResourceTemplate.handlebars
@@ -1,14 +1,13 @@
(function() {
'use strict';
- {{#if description}}
-
- /*
- * {{description}}
- */
- {{/if}}
angular.module('{{ngModule}}')
{{#each resources}}
+ /**
+ * @ngdoc service
+ * @name {{../ngModule}}.{{name}}
+ * @description Angular resource to fetch {{param.href}}
+ **/
.service('{{name}}', function($resource){
return $resource('{{param.href}}'{{#if param.name}}, { {{param.name}}: '@id' }{{/if}});
})