diff --git a/modules/@angular/common/src/directives/ng_if.ts b/modules/@angular/common/src/directives/ng_if.ts index 4d24b74e85..9e228cdd28 100644 --- a/modules/@angular/common/src/directives/ng_if.ts +++ b/modules/@angular/common/src/directives/ng_if.ts @@ -34,7 +34,7 @@ import {Directive, Input, TemplateRef, ViewContainerRef} from '@angular/core'; */ @Directive({selector: '[ngIf]'}) export class NgIf { - private _hasView: boolean = false; + private _hasView = false; constructor(private _viewContainer: ViewContainerRef, private _template: TemplateRef) {}