Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we make our dialog / modal also in lazy loading? #1

Open
GitHubish opened this issue Jan 24, 2022 · 0 comments
Open

How can we make our dialog / modal also in lazy loading? #1

GitHubish opened this issue Jan 24, 2022 · 0 comments

Comments

@GitHubish
Copy link

I found this tutorial very interesting and used it to make an application. My application uses MatDialog (Angular Material) and I have a lot of dialogs that can open no matter where you are. But I notice that I have a problem, all the modals are in fact loaded from the initialization of the application. I don't see how to have dialogs with progressive loading. Would you have an idea ?

I tried lazy loading with import('../../dialog/my-dialog.component') but the limitation seems to be that the services are not accessible. I'm totally stumped...

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant