angular
Installation
SKILL.md
When to use this skill
Use this skill whenever the user wants to:
- 用 Angular 构建 SPA、组件、服务、路由与表单
- 使用 CLI、RxJS、依赖注入与模块
How to use this skill
- 起步:ng new、ng generate component/service;模块、组件、模板与绑定。
- 核心:路由、HttpClient、表单(响应式/模板);RxJS 与 async pipe。
- 参考:https://angular.io/docs
Best Practices
- 模块与懒加载;OnPush 与纯管道优化。
- 服务注入与单例;取消订阅防内存泄漏。