We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cee17e commit 4b757e6Copy full SHA for 4b757e6
src/cdk/overlay/overlay.ts
@@ -41,7 +41,7 @@ let nextUniqueId = 0;
41
*
42
* An overlay *is* a PortalOutlet, so any kind of Portal can be loaded into one.
43
*/
44
-@Injectable()
+@Injectable({providedIn: 'root'})
45
export class Overlay {
46
private _appRef: ApplicationRef;
47
0 commit comments