Dependency injection in Angular is primarily driven by the ________ mechanism.

  • 'decorator'
  • 'dependency'
  • 'injection'
  • 'singleton'
Dependency injection in Angular is primarily driven by the 'dependency' mechanism. Angular's dependency injection system is responsible for providing instances of services or other dependencies to components and services that request them. The 'dependency' mechanism ensures that components receive the correct instances of their dependencies, making it a core concept in Angular's architecture.
Add your answer
Loading...

Leave a comment

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