I love JavaScript and functional programming. I’m only a curious man.
See more
In Angular, we use the componentFactoryResolver service to obtain a reference to a component factory:
componentFactoryResolver