A

Admin • 828.03K Points
Coach

Q. Which decorator is used to make a service injectable in Angular?

  • (A) @Injectable
  • (B) @Service
  • (C) @Inject
  • (D) @Provider
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
@Injectable is used to declare that a class can be injected as a service.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.