NgBindTemplateDirective class
The NgBindTemplateDirective specifies that the element text content should be replaced with the interpolation of the template in the ngBindTemplate attribute. Unlike ngBind, the ngBindTemplate can contain multiple {{ }} expressions.
@NgDirective(
selector: '[ng-bind-template]',
map: const {'ng-bind-template': '@bind'})
class NgBindTemplateDirective {
dom.Element element;
NgBindTemplateDirective(dom.Element this.element);
set bind(value) {
element.text = value;
}
}