docs(HostBindingMetadata): Removed brackets from host bindings in HostBindingsMetadata example

Closes #6941
This commit is contained in:
Mike Ryan 2016-02-07 12:51:20 -06:00 committed by Igor Minar
parent aa98fad338
commit 24d5b665e1
1 changed files with 2 additions and 2 deletions

View File

@ -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({