.
Also question is, what is component factory in angular?
Component factory and compiler In Angular every component is created from a factory. And factories are generated by the compiler using the data you supply in the @Component decorator. Under the hood Angular uses a concept of a View. The running framework is essentially a tree of views.
Furthermore, what is ComponentRef? ComponentRef<C> class Represents an instance of a Component created via a ComponentFactory. ComponentRef provides access to the Component Instance as well other objects related to this Component Instance and allows you to destroy the Component Instance via the ComponentRef.
Correspondingly, what are dynamic angular components?
Dynamic means, that the components location in the application is not defined at buildtime. That means, that it is not used in any angular template. Instead, the component is instantiated and placed in the application at runtime.
What are custom elements in angular?
Angular Custom Elements are a recent addition to the Angular framework that allows you to create exportable components. In other words, whenever we create an Angular Element, we create a new custom HTML element that can be used on any webpage, even if that webpage does not use Angular at all.