diff options
| author | Igor Minar | 2011-07-15 17:19:57 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-07-16 01:12:29 -0700 |
| commit | 6289d18e61034c4105a1b5bcaa9f12b5d3a32b94 (patch) | |
| tree | 59e7f19e334aa7cd8586de2e087fb8f51514abda /docs | |
| parent | 9e37ebe635a37a12535922ac9902ebd492d7cba9 (diff) | |
| download | angular.js-6289d18e61034c4105a1b5bcaa9f12b5d3a32b94.tar.bz2 | |
doc(ngdoc): fix usage format for functions bolted onto services
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/src/ngdoc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 8c9adc56..dc3ad5e1 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -309,7 +309,7 @@ Doc.prototype = { var self = this; dom.h('Usage', function(){ dom.code(function(){ - dom.text(self.name); + dom.text(self.name.split('service.').pop()); dom.text('('); self.parameters(dom, ', '); dom.text(');'); |
