A

Admin • 825.56K Points
Coach

Q. What does the inject() function replace?

  • (A) NgModule
  • (B) Constructor-based dependency injection
  • (C) Services
  • (D) Providers

Explanation by: Admin
inject() allows DI without constructors.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.