Processor Pattern with Angular Dependency Injection
summary
Shows how Angular DI uses InjectionToken plus multi provider to register multiple implementations and @Inject to receive them as an array so code picks one by name at runtime — demonstrated with four processors (sword, short stick, nunchucks, sake) and a real dashboard of chart processors. Replaces a monolithic service of about 30 functions with per-chart classes, and integrates with NgRx so data fetches once and uses NgRx caching from the store.
AI-written summary · about
chapters (5)
- 0:00Start
- 1:07Agenda
- 1:29Dependency Injection
- 5:27Dependency Injections Is Static
- 20:01Data Table Processor
related talks
28mProcessor Pattern with Angular Dependency Injection
57mAngular Dependency Injection, In Depth
01h 00mAngular Dependency Injection In-Depth
46mAngular Dependency Injection – Understanding hierarchical injectors
39mDeep DI-ving: how Angular's DI system defeated a monolith
39mSimplifying DI and Services in Angular
29mDI Deep Dive
26mSoftware Patterns and Design with AngularJS
