Angular interview questions

Components and DI, change detection, signals, RxJS observables and subscriptions, modules vs standalone.

Readiness: 0 of 10 nailed

How to use this page: 1. Read a question2. Type your answer3. Check with AI4. Open the model answer5. Timed drill when you’re 70% ready

Core

JuniorConcept

How does dependency injection work in Angular?

JuniorConcept

What are standalone components and signals?

FoundationConcept

Name Angular’s key lifecycle hooks.

Performance

Mid-levelConcept

What is change detection and what does OnPush do?

RxJS

Mid-levelIt’s broken: why?

Why does this component cause a memory leak, and how do you fix it?

ngOnInit() {
  this.route.params.subscribe(...);
  interval(1000).subscribe(() => this.tick());
}
SeniorConcept

switchMap vs mergeMap vs concatMap vs exhaustMap?

Routing

JuniorConcept

What are route guards and resolvers?

Forms

JuniorConcept

Template-driven vs reactive forms?

HTTP

Mid-levelWrite it by hand

What is an HTTP interceptor? Give a use case.

Templates

FoundationConcept

What are pipes, and pure vs impure pipes?

Also prepare