diff --git a/lib/directive/ng_class.dart b/lib/directive/ng_class.dart index 7972a465f..b3de27c92 100644 --- a/lib/directive/ng_class.dart +++ b/lib/directive/ng_class.dart @@ -47,7 +47,8 @@ part of angular.directive; */ @NgDirective( selector: '[ng-class]', - map: const {'ng-class': '@valueExpression'}) + map: const {'ng-class': '@valueExpression'}, + exportExpressionAttrs: const ['ng-class']) class NgClassDirective extends _NgClassBase { NgClassDirective(dom.Element element, Scope scope, NodeAttrs attrs) : super(element, scope, null, attrs); @@ -81,7 +82,8 @@ class NgClassDirective extends _NgClassBase { */ @NgDirective( selector: '[ng-class-odd]', - map: const {'ng-class-odd': '@valueExpression'}) + map: const {'ng-class-odd': '@valueExpression'}, + exportExpressionAttrs: const ['ng-class-odd']) class NgClassOddDirective extends _NgClassBase { NgClassOddDirective(dom.Element element, Scope scope, NodeAttrs attrs) : super(element, scope, 0, attrs); @@ -115,7 +117,8 @@ class NgClassOddDirective extends _NgClassBase { */ @NgDirective( selector: '[ng-class-even]', - map: const {'ng-class-even': '@valueExpression'}) + map: const {'ng-class-even': '@valueExpression'}, + exportExpressionAttrs: const ['ng-class-even']) class NgClassEvenDirective extends _NgClassBase { NgClassEvenDirective(dom.Element element, Scope scope, NodeAttrs attrs) : super(element, scope, 1, attrs);