A

Admin • 828.03K Points
Coach

Q. Which Angular feature replaces constructor injection in functional APIs?

  • (A) inject()
  • (B) useFactory
  • (C) providers array
  • (D) useClass

Explanation by: Admin
inject() function allows DI without constructor.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.