Angular Di

作者 analogjs18996fd1b2bf無授權條款591 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫2 個月前更新

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.

AI 產生的概覽

已棄用的 Angular 依賴注入技能,其指引內容已被移除,改由官方 Angular 技能取代。

功能
此技能先前涵蓋 Angular v20+ 的依賴注入,包括 inject()、注入權杖與提供者設定。其指引內容已被移除,而非任其過時,因此文件現在只保留棄用通知。它不產出任何成果物,也不附帶指令碼。
適用情境
它不供使用;通知引導使用者改用官方 Angular 技能。在檢視或清理既有技能安裝時可能會遇到它。
執行需求
除代理外無需其他條件;此技能僅包含說明,沒有指令碼。通知提到可透過命令列技能工具安裝官方 Angular 技能。

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 — 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.

來源與署名

來源:analogjs/angular-skills位於skills/angular-di提交18996fd

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 analogjs/angular-skills 的技能