diff options
| author | Igor Minar | 2012-03-06 14:16:17 -0800 | 
|---|---|---|
| committer | Igor Minar | 2012-03-08 11:06:14 -0800 | 
| commit | 1b4289ce769e1c32cde6e5b246c1a176b9ecf491 (patch) | |
| tree | 85df51817dbddec22977d14ec4304f288f24bad2 | |
| parent | af21233820ea48a093deb6f3e17fc4971701a741 (diff) | |
| download | angular.js-1b4289ce769e1c32cde6e5b246c1a176b9ecf491.tar.bz2 | |
fix(docs): add a header for the directive info section
| -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){  | 
