feat(forms): export validator directives as part of formDirectives

This commit is contained in:
vsavkin
2015-06-05 14:31:03 -07:00
parent 5fc23caef7
commit 73bce40287
2 changed files with 6 additions and 3 deletions

View File

@ -24,7 +24,6 @@ import {NgIf} from 'angular2/directives';
import {
Control,
ControlGroup,
RequiredValidatorDirective,
TemplateDrivenFormDirective,
formDirectives,
Validators,
@ -752,7 +751,7 @@ class WrappedValue implements ControlValueAccessor {
}
@Component({selector: "my-comp"})
@View({directives: [formDirectives, WrappedValue, RequiredValidatorDirective, NgIf]})
@View({directives: [formDirectives, WrappedValue, NgIf]})
class MyComp {
form: any;
name: string;