Standalone Components
Standalone: standalone: true, imports: [CommonModule, RouterLink] on the component. No NgModule required. New Angular apps bootstrap this way.
You still must import what the template uses. Forget CommonModule → *ngIf unknown. Forget RouterLink → routerLink isn’t a property.
Trap — mixing old NgModule declarations with standalone without importing the standalone component where it’s used.
Parent
│ [student]
▼
StudentCard
│ (save)
▼
Parent.onSaveExam tip
standalone + imports array. Why CommonModule.