Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Example code snippet in the official Angular Material documentation should not throw any error.
What is the current behavior?
When running example Plunker code related to Modals, Angular throws an error:
'Error: The selector "dialog-result-example-dialog" did not match any elements'
What are the steps to reproduce?
Open this Plunker code:
https://plnkr.co/edit/F6O5ltdCJrVn3r2qw4DU?p=preview
And then open a console from debugging tools after the application will load.
What is the use-case or motivation for changing an existing behavior?
Application throws an error, although the modal window is opening correctly.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material: 2.0.0-beta.8
Is there anything else we should know?
URL of the Plunker example comes from official Angular Material documentation for Modals:
https://material.angular.io/components/dialog/examples