I have a component which is meant to be used in an Angular Material MdDialog :
@Component({ ... }) export class MyComponent { constructor(@Inject(MD_DIALOG_
as an update, this is also replicated for those who use the tags with the prefix "Mat"
providers: [{provide: MAT_DIALOG_DATA, useValue: {}}, {provide: MatDialogRef, useValue: {}}]