Angular NotesRohit’s interview study guide

Interview study guide

Angular, the modern way.

Everything from my Angular prep doc, organised by topic and completed where it was still in progress. Written for Angular 22 — standalone, signals, zoneless — with the older patterns explained alongside, and every example compiled and tested in a real Angular project.

Chapters
17
Topics
183
Code samples
480
Added beyond the doc
20
01Angular FundamentalsThe mental model, how an Angular app boots, and what changed from NgModules to standalone.8 topics02ComponentsWhat a component really is — decorator, selector, host element, class instance vs view, and how parents and children fit together.8 topics03Templates & Data BindingEvery way data moves between a component and its template — interpolation, property, attribute, class/style, event and two-way binding.12 topics04Directives & Control FlowAttribute directives, the new built-in control flow, and the ng-container/ng-template plumbing behind the old structural directives.11 topics05PipesTransforming values in templates — built-in pipes, custom pipes, purity, and the async pipe.8 topics06Component CommunicationPassing data down with input(), events up with output(), two-way with model(), and deriving state instead of watching it.8 topics07Lifecycle HooksWhen Angular calls what — from constructor to ngOnDestroy, content vs view, and the modern DestroyRef and render hooks.13 topics08SignalsAngular's reactive primitive — signal, computed, effect, linkedSignal and untracked — and how it fits with RxJS.10 topics09Dependency InjectionHow Angular creates and shares services — tokens, providers, injectors, provider strategies and the new @Service decorator.13 topics10RxJS & ObservablesObservables from first principles — operators, error handling, the four flattening maps, subjects, and when to reach for signals instead.18 topics11HTTPTalking to APIs — HttpClient, the new httpResource, error handling, retries and interceptors.12 topics12FormsAngular's three form approaches — Signal Forms (new in 22), Reactive Forms and Template-driven Forms — and when to use each.20 topics13RoutingMapping URLs to components — route config, params, navigation, nested and lazy routes, guards and resolvers.12 topics14Change Detection & PerformanceHow Angular decides what to re-render — zone.js vs zoneless, OnPush, signals — plus @defer and server rendering.10 topics15Content Projection & TemplatesBuilding flexible components — ng-content slots, querying children with viewChild/contentChild, and rendering templates dynamically.8 topics16Testing AngularTesting components, services, signals, forms, routes and HTTP with TestBed and Vitest.7 topics17Review QuestionsTest yourself — Angular interview questions with worked answers.5 topics

Added marks topics that weren’t in my original doc. Tick Learned on a topic to track what you’ve revised.

Sync progress across devices

Type the same private phrase on your Mac and your phone, and your Learned ticks follow you between them — on every study site.

The phrase never leaves this device: only a fingerprint of it is sent, and the server stores a fingerprint of that. Anyone who knows the phrase could see or change your ticks, so pick something you don’t use elsewhere.

Sync is on in this browser.

Sync ID

This ID must be the same on every device. If another device shows a different one, its phrase is different (capital letters count): tap “Turn off here” on it and type the phrase again exactly.