Question · Angular course · Module 5: Services and DI

The @Injectable Decorator

Which decorator marks a class as a service in Angular?

Answer options

  • @Service
  • @Injectable
  • @Provider
  • @Inject

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