From 24d5b665e1e3a66238b0b8cbf36a66eae5aeda3f Mon Sep 17 00:00:00 2001 From: Mike Ryan Date: Sun, 7 Feb 2016 12:51:20 -0600 Subject: [PATCH] docs(HostBindingMetadata): Removed brackets from host bindings in HostBindingsMetadata example Closes #6941 --- modules/angular2/src/core/metadata/directives.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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({