Skip to content

Commit 6bd95c1

Browse files
feat(coreDirectives): add NgClass to coreDirectives
Closes #3534
1 parent 4f5e405 commit 6bd95c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/angular2/directives.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
import {CONST_EXPR, Type} from './src/facade/lang';
8+
import {NgClass} from './src/directives/ng_class';
89
import {NgFor} from './src/directives/ng_for';
910
import {NgIf} from './src/directives/ng_if';
1011
import {NgNonBindable} from './src/directives/ng_non_bindable';
@@ -60,4 +61,4 @@ export * from './src/directives/ng_switch';
6061
*
6162
*/
6263
export const coreDirectives: List<Type> =
63-
CONST_EXPR([NgFor, NgIf, NgNonBindable, NgSwitch, NgSwitchWhen, NgSwitchDefault]);
64+
CONST_EXPR([NgClass, NgFor, NgIf, NgNonBindable, NgSwitch, NgSwitchWhen, NgSwitchDefault]);

0 commit comments

Comments
 (0)