fix(cdk-dialog): decorate dialog as an injectable (#10052)

This commit is contained in:
Joey Perrott
2018-02-21 09:48:26 -08:00
committed by GitHub
parent 186973044f
commit 27e33e0144
+2
View File
@@ -10,6 +10,7 @@ import {
TemplateRef,
SkipSelf,
Optional,
Injectable,
Injector,
Inject,
ComponentRef
@@ -44,6 +45,7 @@ import {
/**
* Service to open modal dialogs.
*/
@Injectable()
export class Dialog {
/** Stream that emits when all dialogs are closed. */
get _afterAllClosed(): Observable<void> {