A

Admin • 832.27K Points
Coach

Q. How does Angular provide dependency injection?

  • (A) Through constructors and providers
  • (B) Using inheritance
  • (C) Using manual service calls
  • (D) Using global variables
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Angular injects dependencies via constructors with configured providers.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.