A

Admin • 828.03K Points
Coach

Q. Which Angular decorator defines a service class that can be injected?

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

Explanation by: Admin
@Injectable marks a class as available for dependency injection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.