diff --git a/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts b/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts index d09450b14d..1636b9e5c1 100644 --- a/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts +++ b/packages/examples/common/ngIf/ts/e2e_test/ngIf_spec.ts @@ -61,8 +61,8 @@ describe('ngIf', () => { }); }); - describe('ng-if-let', () => { - let comp = 'ng-if-let'; + describe('ng-if-as', () => { + let comp = 'ng-if-as'; it('should hide/show content', () => { browser.get(URL); waitForElement(comp); diff --git a/packages/examples/common/ngIf/ts/module.ts b/packages/examples/common/ngIf/ts/module.ts index b50113a0b0..535d90f655 100644 --- a/packages/examples/common/ngIf/ts/module.ts +++ b/packages/examples/common/ngIf/ts/module.ts @@ -75,7 +75,7 @@ export class NgIfThenElse implements OnInit { // #docregion NgIfAs @Component({ - selector: 'ng-if-let', + selector: 'ng-if-as', template: `
@@ -112,7 +112,7 @@ export class NgIfAs {

- +
` })