Closed
Description
Bug, feature request, or proposal:
The first dialog help example has an reference error.
What is the expected behavior?
The Plunker should compile and show the example.
What is the current behavior?
It has a wrong reference to an html file that produces an exception.
What are the steps to reproduce?
- https://material.angular.io/components/dialog/overview
- Click on run the first example.
- You should be redirected to https://stackblitz.com/angular/pbeaxnarlpe
- On file "dialog-overview-example.ts":
This:
@Component({
selector: 'dialog-overview-example-dialog',
templateUrl: 'dialog-overview-example-dialog.html',
})
Should be:
@Component({
selector: 'dialog-overview-example',
templateUrl: 'dialog-overview-example.html',
})
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
Suggested version avaliable @ https://stackblitz.com/edit/angular-mc53qz