Skill Zuno · skillzunos.com · Fullstack
Angular interview questions
Prepare for Angular interviews on Skill Zuno. This practice book covers Angular interview questions across New, Easy, Medium, Hard, and Diff levels so you can work through real interview-style problems on skillzunos.com.
Open Angular on Skill ZunoAlso see the Angular tutorial.
Angular is Google's TypeScript framework for building single-page applications. It provides components, dependency injection, a router, forms, an HTTP client and RxJS-based reactivity, with signals for fine-grained updates. Angular interviews cover components and lifecycle hooks, change detection, DI, RxJS, routing and forms.
Sample Angular interview questions
How does change detection work in Angular?
Zone.js patches async APIs and tells Angular when something may have changed; Angular then checks component bindings from the root down. OnPush components are checked only when an input reference changes, an event fires in them, or a signal or async pipe updates.
What are signals?
Signals are reactive values created with signal(). Reading one in a template or computed() registers a dependency, so Angular updates exactly what depends on it when set() or update() is called, without relying on Zone.js.
What is the difference between ngOnInit and the constructor?
The constructor runs when the class is created and should only receive injected dependencies. ngOnInit runs after Angular sets the first input values, so initialisation that needs inputs belongs there.
What is the difference between switchMap, mergeMap and concatMap?
All map each value to an inner observable. switchMap cancels the previous inner observable, which suits search boxes. mergeMap runs them all in parallel. concatMap queues them and runs one at a time in order.
How do you lazy-load a route?
Use loadComponent or loadChildren with a dynamic import in the route config. Angular then puts that code in a separate bundle that downloads only when the user navigates to the route.
What you can practice
- Angular interview questions for beginners and experienced developers
- Level-based practice: New, Easy, Medium, Hard, and Diff
- Fullstack topics alongside Angular on skillzunos.com