We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e36516 commit e05a97cCopy full SHA for e05a97c
docs/src/ngdoc.js
@@ -451,12 +451,16 @@ Doc.prototype = {
451
dom.h('Usage', function() {
452
dom.h('In HTML Template Binding', function() {
453
dom.tag('code', function() {
454
- dom.text('{{ ');
455
- dom.text(self.shortName);
456
- dom.text('_expression | ');
457
458
- self.parameters(dom, ':', true);
459
- dom.text(' }}');
+ if (self.usage) {
+ dom.text(self.usage);
+ } else {
+ dom.text('{{ ');
+ dom.text(self.shortName);
+ dom.text('_expression | ');
460
461
+ self.parameters(dom, ':', true);
462
+ dom.text(' }}');
463
+ }
464
});
465
466
0 commit comments