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.

Updated

Cheat sheet: Services and inject()
Category
Angular
Level
Apprentice
Tags
@inject, angular, Dependency Injection (angular), Service (angular)