Angular no longer requires component factories to dynamically create components.
Use different signature of the createComponent method, which allows passing Component class directly.
This is used in the Map Component (not currently used, using the Common library Map Component) and the Nav Bar Component.
According to Angular:
This is used in the Map Component (not currently used, using the Common library Map Component) and the Nav Bar Component.