Skip to content

Glossary: Angular Beyond the Basics

@Injectable()

Also written: Injectable

A decorator that marks a class as a service Angular can inject. Without `providedIn: "root"`, it must be provided somewhere, such as route `providers`.

Where the book teaches it

Related terms

@Service()