Question · Angular course · Module 5: Services and DI

The providedIn option for the application

Which providedIn value will you use to make the service a single singleton for the entire application?

Answer options

  • 'any'
  • 'platform'
  • 'root'
  • 'global'

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