A

Admin • 833.24K Points
Coach

Q. What is Dependency Injection in Angular?

  • (A) Manual creation of service instances
  • (B) A design pattern to supply dependencies automatically
  • (C) Directly importing modules
  • (D) Using static variables
  • Correct Answer - Option(B)
  • Views: 27
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Angular uses DI to provide components with the dependencies they need.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.