fix(docs): add a header for the directive info section

This commit is contained in:
Igor Minar 2012-03-06 14:16:17 -08:00
parent af21233820
commit 1b4289ce76

View file

@ -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){