diff --git a/modules/angular2/src/core/metadata/directives.ts b/modules/angular2/src/core/metadata/directives.ts index 6d92529bef..5b534adfbf 100644 --- a/modules/angular2/src/core/metadata/directives.ts +++ b/modules/angular2/src/core/metadata/directives.ts @@ -1071,8 +1071,8 @@ export class OutputMetadata { * @Directive({selector: '[ngModel]'}) * class NgModelStatus { * constructor(public control:NgModel) {} - * @HostBinding('[class.valid]') get valid { return this.control.valid; } - * @HostBinding('[class.invalid]') get invalid { return this.control.invalid; } + * @HostBinding('class.valid') get valid { return this.control.valid; } + * @HostBinding('class.invalid') get invalid { return this.control.invalid; } * } * * @Component({