Skip to content

Commit 6289d18

Browse files
committed
doc(ngdoc): fix usage format for functions bolted onto services
1 parent 9e37ebe commit 6289d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/ngdoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ Doc.prototype = {
309309
var self = this;
310310
dom.h('Usage', function(){
311311
dom.code(function(){
312-
dom.text(self.name);
312+
dom.text(self.name.split('service.').pop());
313313
dom.text('(');
314314
self.parameters(dom, ', ');
315315
dom.text(');');

0 commit comments

Comments
 (0)