Angular · Components · Fresh / Intern · Comparison
What is the difference between a standalone component and an NgModule-declared component?
Short Interview Answer
Standalone components declare imports in @Component; classic components are declared in an NgModule.
Detailed Explanation
Standalone (default in modern Angular) makes components self-contained and simplifies lazy loading. NgModules still exist for legacy apps and some libraries. Prefer standalone for new work; migrate gradually with standalone: true.