A

Admin • 833K Points
Coach

Q. Which decorator is used to inject dependencies into Angular components or services?

  • (A) @Inject
  • (B) @Component
  • (C) @NgModule
  • (D) @Directive
  • Correct Answer - Option(A)
  • Views: 30
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

@Inject decorator is used for manual dependency injection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.