doc(ngdoc): fix usage format for functions bolted onto services

This commit is contained in:
Igor Minar 2011-07-15 17:19:57 -07:00
parent 9e37ebe635
commit 6289d18e61

View file

@ -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(');');