Change componentFactory, and componentType to accept the right type. Move the initialization of the component into ngChanges so that if the componentFactory, and the value both change in the same turn the component will be initialized with the correct value right away.
Change componentFactory, and componentType to accept the right type. Move the initialization of the component into ngChanges so that if the componentFactory, and the value both change in the same turn the component will be initialized with the correct value right away.

PiperOrigin-RevId: 179756891

angulardart/angular_components,angulardart/angular_components,angulardart/angular_components