aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/ngdoc.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/ngdoc.js')
-rw-r--r--docs/src/ngdoc.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index 87f9ab62..fc606d54 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -374,6 +374,7 @@ Doc.prototype = {
dom.text('>\n ...\n');
dom.text('</' + self.element + '>');
});
+ self.html_usage_directiveInfo(dom);
self.html_usage_parameters(dom);
});
},
@@ -461,11 +462,25 @@ Doc.prototype = {
});
});
+ self.html_usage_directiveInfo(dom);
self.html_usage_parameters(dom);
- self.html_usage_returns(dom);
});
},
+ html_usage_directiveInfo: function(dom) {
+ var self = this;
+ var list = [];
+
+
+ if (self.scope !== undefined) {
+ list.push('This directive creates new scope.');
+ }
+ if (self.priority !== undefined) {
+ list.push('This directive executes at priority level ' + self.priority + '.');
+ }
+ dom.ul(list);
+ },
+
html_usage_overview: function(dom){
dom.html(this.description);
},