In Angular, i get a String and want to transform it to a Type / Component. For example, i get "ListComponent" and want to add a ListComponent to the Application. I dont want to map these in an Map or something. Is it possible to get the Type out of a String?
stringComponent = "ListComponent";
typeComponent = *transform "ListComponent" to ListComponent;
method(typeComponent);