-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
Bug, feature request, or proposal:
proposal
What is the expected behavior?
easy modal popups
What is the current behavior?
requires module for each popup
Your solution for popups is way to complicated. Had the same issue and this post (not from me) helped me making it much simpler. Essentially use ComponentFactoryResolver and put all potetial popups in your module defintion under
entryComponents:[
PopupComp
]
and you can throw away the one module per popup.
https://blog.thecodecampus.de/angular-2-dynamically-render-components/
Metadata
Metadata
Assignees
Labels
No labels