Slide 16
Slide 16 text
ChangeDetectorRef — Base class for Angular Views, provides change detection functionality. This class
provides various methods related to change detection.
ViewRef — Represents an Angular view specifically the host view defined by a component. This class
extends the ChangeDetectorRef. Other than the methods inherited from the parent class it provides the
method related to component/component view.
EmbeddedViewRef — Represents an Angular view in a view container. An embedded view can be referenced
from a component other than the hosting component whose template defines it, or it can be defined
independently by a TemplateRef.
ViewContainerRef — Represents a container where one or more views can be attached to a component. It
can contain host views (created by instantiating a component with the createComponent() method), and
embedded views (created by instantiating a TemplateRef with the createEmbeddedView() method).