Question · Angular course · Module 5: Services and DI

provide strategies

Which provider strategy will you use to swap one service class for a different implementation?

Answer options

  • useValue
  • useClass
  • useExisting
  • useFactory

You can check the correct answer by solving this task in the CodeWorlds game.