A

Admin • 802.91K Points
Coach

Q. What does the `providedIn` property in @Injectable decorator do?

  • (A) Defines where the service is available
  • (B) Defines service visibility
  • (C) Configures service lifetime
  • (D) All of the above
  • Correct Answer - Option(D)
  • Views: 5
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
It controls service registration scope, visibility, and lifetime.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.