Chapter 5: Building with Standalone Components and Providers
Standalone APIs as the default: components, provider functions, and app composition.
- Provider pattern
- Provider scopes
- Migration
- Feature composition
What you can try in this demo
Twelve demos show an app built without NgModules: standalone components, directives and pipes, features composed from them, and a migration from NgModule code. Provider functions, provider scopes and route-scoped providers are shown live, along with lazy loading and testing with a standalone TestBed.
This demo is chapter 5 of Modern Angular Design Patterns. The book walks through the code behind it.
Buy the book