From f9f95879f08073ce1170a471a925541324a0ff23 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 20 Apr 2011 13:44:34 -0700 Subject: Added support for properties in documentation --- docs/src/ngdoc.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/src') diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 3d2265bc..ffc77d78 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -321,6 +321,17 @@ Doc.prototype = { }); }, + html_usage_property: function(dom){ + var self = this; + dom.h('Usage', function(){ + dom.code(function(){ + dom.text(self.name); + }); + + self.html_usage_returns(dom); + }); + }, + html_usage_directive: function(dom){ var self = this; dom.h('Usage', function(){ -- cgit v1.2.3