Answer honestly with the versions you used in projects, then show you follow recent changes. Angular releases a new major version roughly every six months, and each version gets about 18 months of support. A sample answer: "I have worked from Angular 12 to recent versions, and our current project uses a modern standalone-component setup with signals." Key concepts introduced in recent versions (Angular 14 onwards): - Standalone components (14+, default since 17): components, directives and pipes without NgModules; bootstrapApplication and provide* functions in app.config.ts. - inject() function: dependency injection without constructor parameters, also used in functional guards and interceptors. - Signals (16+, stable later): signal, computed and effect for fine-grained reactivity, plus signal-based input(), output(), model() and queries (viewChild). - New control flow (17+): @if, @for (with mandatory track) and @switch blocks replace *ngIf, *ngFor and ngSwitch, with better performance and type checking. - Deferrable views (17+): @defer blocks lazy-load parts of a template on viewport, idle, interaction or timer triggers. - esbuild and Vite-based build system (17+): much faster builds and dev server. - Improved SSR and hydration, including incremental hydration and event replay. - Zoneless change detection: running Angular without Zone.js, driven by signals. - Signal-based data loading: resource() and httpResource(), and linkedSignal for dependent state. - Newer testing defaults moving from Karma towards Vitest, and signal-based forms in the latest releases. Check the exact current version on angular.dev before the interview, because a new major ships about twice a year. Show practical impact: "Migrating to standalone components and the new control flow simplified our code, and moving key components to OnPush with signals noticeably reduced change detection time." Mention the official migration schematics (ng update and ng generate @angular/core:control-flow) if you have upgraded an application.
Ravindra Wadile · · 0 likes