diff options
Diffstat (limited to 'docs/src/ngdoc.js')
| -rw-r--r-- | docs/src/ngdoc.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 4fdfe21d..4ea80bce 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -473,7 +473,12 @@ Doc.prototype = { if (self.priority !== undefined) { list.push('This directive executes at priority level ' + self.priority + '.'); } - dom.ul(list); + + if (list.length) { + dom.h('Directive info', function() { + dom.ul(list); + }); + } }, html_usage_overview: function(dom){ |
