A

Admin • 832.27K Points
Coach

Q. Which Angular decorator allows injecting dependencies into a service or component?

  • (A) @Injectable
  • (B) @Input
  • (C) @Output
  • (D) @Component
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

@Injectable decorator marks a class for dependency injection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.