Glossary: Angular Beyond the Basics
@Service()
Also written: Service decorator
A decorator that marks a class as a service that Angular can create and inject into components and other services. It is used for shared classes such as a store that holds an app's state (for example `OrderStore`) or an `AuthService`.