---
stable_id: skills/skills-sh-analogjs-angular-skills-angular-di
type: skills
title: skills-sh-analogjs-angular-skills-angular-di
summary: |-
  # Angular Dependency Injection Patterns
  ## Table of Contents
  - [Service Patterns](#service-patterns)
  - [Abstract Classes as Tokens](#abstract-classes-as-tokens)
  - [Hierarchical Injection](#hierarchical-injection)
  - [Dynamic Providers](#dynamic-providers)
  - [Testing with DI](#testing-with-di)
  - [DestroyRef and Cleanup](#destroyref-and-cleanup)
  ## Service Patterns
  ### Facade Service
tags:
  - skills-sh
  - skills-sh-all-time
source_url: https://raw.githubusercontent.com/analogjs/angular-skills/HEAD/skills/angular-di/references/di-patterns.md
license: ""
upstream_ref: https://skills.sh/analogjs/angular-skills/angular-di
github_stars: 558
github_forks: 59
github_is_organization: true
retrieved_at: 2026-06-11T08:33:26.545Z
content_sha256: 82a96864d1bc95d2cadac94ad888b147edb5d66d24c76510fbd215983fdcf903
---
