mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
doc(ngdoc): fix usage format for functions bolted onto services
This commit is contained in:
@@ -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(');');
|
||||
|
||||
Reference in New Issue
Block a user