# Services and inject()

A service is a class for work that isn't about showing anything, such as calculations or calling an API. Mark it @Service(), and any component gets the one shared instance with inject(), like dependency injection in ASP.NET Core.

![Cheat sheet: Services and inject()](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/95a20451f8bd4b7ebc1220db1cf1d412.webp)

- Category: Angular
- Level: Apprentice
- Tags: @inject, angular, Dependency Injection (angular), Service (angular)
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/angular-services-services-and-inject-cheat-sheet
