To dynamically create components at runtime, one should use the ________ service.

  • ComponentFactoryResolver
  • ChangeDetectionStrategy
  • AngularInjector
  • DependencyInjection
To dynamically create components at runtime in Angular, you should use the ComponentFactoryResolver service. This service allows you to resolve and create components dynamically, a valuable feature when dealing with dynamic UI elements or component-based applications. The other options are not related to dynamic component creation.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *