From 27e33e01441ed37b2d8e451a9267c8d89146489f Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 21 Feb 2018 09:48:26 -0800 Subject: [PATCH] fix(cdk-dialog): decorate dialog as an injectable (#10052) --- src/cdk-experimental/dialog/dialog.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cdk-experimental/dialog/dialog.ts b/src/cdk-experimental/dialog/dialog.ts index 52f25baa95a..a81d2aeeab7 100644 --- a/src/cdk-experimental/dialog/dialog.ts +++ b/src/cdk-experimental/dialog/dialog.ts @@ -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 {