Index: third_party/pkg/angular/lib/directive/ng_bind.dart |
diff --git a/third_party/pkg/angular/lib/directive/ng_bind.dart b/third_party/pkg/angular/lib/directive/ng_bind.dart |
index 074eeb1ced58046adb86c6598b0581cbe96dec31..04346cb0e635e11025dd9dfe48c8da324ca03b48 100644 |
--- a/third_party/pkg/angular/lib/directive/ng_bind.dart |
+++ b/third_party/pkg/angular/lib/directive/ng_bind.dart |
@@ -15,13 +15,13 @@ part of angular.directive; |
* |
* An alternative solution to this problem would be using the ngCloak directive. |
*/ |
-@NgDirective( |
+@Decorator( |
selector: '[ng-bind]', |
map: const {'ng-bind': '=>value'}) |
-class NgBindDirective { |
+class NgBind { |
final dom.Element element; |
- NgBindDirective(this.element); |
+ NgBind(this.element); |
set value(value) => element.text = value == null ? '' : value.toString(); |
} |