diff --git a/src/lib/dialog/dialog-config.ts b/src/lib/dialog/dialog-config.ts index 37337591776f..30870ff7ef9a 100644 --- a/src/lib/dialog/dialog-config.ts +++ b/src/lib/dialog/dialog-config.ts @@ -15,6 +15,13 @@ export interface DialogPosition { * Configuration for opening a modal dialog with the MdDialog service. */ export class MdDialogConfig { + + /** + * Where the attached component should live in Angular's *logical* component tree. + * This affects what is available for injection and the change detection order for the + * component instantiated inside of the dialog. This does not affect where the dialog + * content will be rendered. + */ viewContainerRef?: ViewContainerRef; /** The ARIA role of the dialog element. */