| Index: third_party/pkg/angular/lib/directive/ng_bind_template.dart
|
| diff --git a/third_party/pkg/angular/lib/directive/ng_bind_template.dart b/third_party/pkg/angular/lib/directive/ng_bind_template.dart
|
| index 97c8715edbd037572c6fc417055a73916091601d..db993a951d6f8f45683bbf547b7e9222f5122985 100644
|
| --- a/third_party/pkg/angular/lib/directive/ng_bind_template.dart
|
| +++ b/third_party/pkg/angular/lib/directive/ng_bind_template.dart
|
| @@ -1,20 +1,20 @@
|
| part of angular.directive;
|
|
|
| /**
|
| - * The [NgBindTemplateDirective] specifies that the element text content should
|
| + * The [NgBindTemplate] 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 {
|
| +@Decorator(
|
| + selector: '[ng-bind-template]',
|
| + map: const {'ng-bind-template': '@bind'})
|
| +class NgBindTemplate {
|
| final dom.Element element;
|
|
|
| - NgBindTemplateDirective(this.element);
|
| + NgBindTemplate(this.element);
|
|
|
| - set bind(value) {
|
| + void set bind(value) {
|
| element.text = value;
|
| }
|
| }
|
|
|