Angular Interview Questions & Answers
Prepare for Angular technical interviews with 100 curated questions and answers — from fundamentals to Tech Lead. Components, DI, Signals, RxJS, and enterprise patterns. Each question includes a short interview answer, detailed explanation, examples, tips, and common mistakes.
Angular interview topics
Jump into a category — each bank is independent and interview-focused.
Components
8 Angular questions
Templates
7 Angular questions
Dependency Injection
7 Angular questions
Change Detection
6 Angular questions
Signals
7 Angular questions
RxJS
7 Angular questions
Routing
6 Angular questions
Forms
6 Angular questions
HTTP
5 Angular questions
Guards
4 Angular questions
Interceptors
4 Angular questions
Performance
6 Angular questions
SSR
4 Angular questions
Hydration
4 Angular questions
Zoneless Angular
4 Angular questions
Architecture
6 Angular questions
Testing
5 Angular questions
Security
4 Angular questions
All Angular interview questions
Components interview questions
View categoryWhat is an Angular component and what are its core pieces?
freshWhat is the difference between a standalone component and an NgModule-declared component?
freshExplain @Input and @Output on Angular components.
freshWhat is content projection and when do you use ng-content?
freshHow do ViewChild and ContentChild differ?
freshWhat lifecycle hooks matter most for Angular components?
freshWhen should you split a large component into smaller ones?
freshHow do you share state between sibling Angular components?
freshTemplates interview questions
View categoryWhat template syntax does Angular use for binding?
freshWhat is the difference between *ngIf and @if in Angular templates?
freshHow does @for track items and why does track matter?
freshWhat are template reference variables?
freshWhen should you use a pipe vs a method in a template?
freshHow do you safely bind HTML in Angular templates?
freshWhat is ng-template and how does it differ from ng-container?
freshDependency Injection interview questions
View categoryHow does Angular dependency injection work?
juniorWhat is providedIn: 'root' vs providing in a component?
juniorWhat are InjectionToken and multi providers?
juniorWhen do you use useClass, useValue, useFactory, and useExisting?
juniorWhat is an injection context and why does inject() fail outside it?
juniorHow do you provide different implementations per environment?
juniorExplain hierarchical injectors in a routed Angular app.
juniorChange Detection interview questions
View categoryWhat is Angular change detection?
juniorHow does ChangeDetectionStrategy.OnPush improve performance?
juniorWhat does markForCheck vs detectChanges do?
juniorWhy can mutating an @Input object fail to update an OnPush child?
juniorHow do signals interact with change detection?
juniorWhen would you detach a change detector?
juniorSignals interview questions
View categoryWhat is an Angular signal?
juniorWhat is the difference between computed and effect?
juniorHow do linkedSignal and resource fit modern Angular?
juniorHow do you convert an Observable to a signal?
juniorHow do input() signals differ from classic @Input?
juniorWhat are common pitfalls with effects?
juniorDesign a feature store with signals for a product list page.
juniorRxJS interview questions
View categoryWhy is RxJS central to Angular?
juniorWhat is the difference between switchMap, mergeMap, concatMap, and exhaustMap?
juniorHow do you avoid memory leaks with Observables in components?
juniorWhat does shareReplay do and when is it risky?
juniorDebug: a valueChanges subscription fires too often. What do you check?
juniorHow would you implement a cancellable search-as-you-type with RxJS?
midWhen should a service expose Observable vs signal?
midRouting interview questions
View categoryHow does Angular Router map URLs to components?
midWhat is the difference between paramMap and queryParamMap?
midHow do you lazy load a standalone route?
midWhat are child routes and nested router-outlets for?
midHow do you pass data to a route without putting it in the URL?
midWhat is RouterLinkActive and common pitfalls?
midForms interview questions
View categoryTemplate-driven vs reactive forms in Angular?
midHow do FormControl, FormGroup, and FormArray relate?
midHow do you create a custom validator?
midHow do you show validation errors accessibly?
midWhat is the difference between value and getRawValue()?
midDesign a dynamic form where fields come from a JSON schema.
midHTTP interview questions
View categoryGuards interview questions
View categoryInterceptors interview questions
View categoryPerformance interview questions
View categoryList key Angular performance techniques.
seniorWhat is @defer and when do you use it?
seniorHow does CDK virtual scrolling help?
seniorHow do you diagnose unnecessary change detection cycles?
seniorWhat bundle strategies help Angular apps load faster?
seniorIs pure pipe caching enough for expensive list transforms?
seniorSSR interview questions
View categoryHydration interview questions
View categoryZoneless Angular interview questions
View categoryArchitecture interview questions
View categoryHow do you structure a large Angular monorepo app?
seniorSmart vs presentational components in Angular?
seniorWhen do you introduce a state library (NgRx, SignalStore) vs services?
seniorHow should API models differ from view models?
seniorDesign auth + feature modules for an enterprise Angular app.
seniorWhat is the facade pattern in Angular feature design?
leadTesting interview questions
View categoryHow do you unit test an Angular component with TestBed?
leadHow do you test a service that uses HttpClient?
leadWhat is the difference between isolated unit tests and integration component tests?
leadHow do you test route guards?
leadLead approach: what testing strategy do you set for an Angular team?
lead