title: Dynamically load components without having to hardcode them into a datastructure
body: <p>I am working on an Angular app that needs to display a specific on command. Instead of having all 1 30 the components on the DOM and using ngIf to hide and show them, I've decided to load them dynamically using resolveComponentFactory.
  The problem is, resolveComponentFactory takes in a component object.</p>
  <p>I know which component I need to load (when needed), I have it's name/ID. Is there way to retrieve the component object from the AppModule?
  All the components (+/- 130) I could potentially load are listed under the declarations section.
  Or is there another way to get a component if you have its name/ID?</p>