Valeryia Aleshka

Results 2 comments of Valeryia Aleshka

Hello! Have the same issue on our project with MatDialog. Can not divide application to modules, viewContainerRef doesn't work as well. Services, that are injected only to the lazy-loaded module...

It seems I found the root cause of the problem. Component is created with deprecated API. So, it used the deprecated version of `createComponent` method with componentFactoryResolver. https://github.com/angular/components/blob/main/src/cdk/portal/portal-directives.ts#L155 As a...