# Angular Di

> DEPRECATED - this skill is unmaintained. Use the official Angular skills at https://github.com/angular/skills instead. Implement dependency injection in Angular v20+ using inject(), injection tokens, and provider configuration. Use for service architecture, providing dependencies at different levels, creating injectable tokens, and managing singleton vs scoped services. Triggers on service creation, configuring providers, using injection tokens, or understanding DI hierarchy.

- Skill: `analogjs/angular-di-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add analogjs/angular-di-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/analogjs/angular-di-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: analogjs (https://skillmd.com/u/analogjs)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/analogjs/angular-di-2

---


# Angular Dependency Injection

> **⚠️ Deprecated.** This skill is no longer maintained, and its guidance has been
> removed rather than left to go stale. The Angular team now publishes official
> skills at [angular/skills](https://github.com/angular/skills) — install those
> instead:
>
> ```sh
> npx skills add https://github.com/angular/skills
> ```
>
> To remove these: `npx skills remove analogjs/angular-skills`

The previous contents of this skill remain available in this repository's git
history.

