Angular
Components, change detection, RxJS and dependency injection.
19 lessons 48 practice questions about 2 hours of reading
Chapter 1, beginner
Foundations
What it is and how it works, the questions every round starts with.
- 01How do Angular components communicate?
Lesson, 5 min read, then 4 questions to practise
- 02
- 03What are Angular lifecycle hooks and in what order do they run?
Lesson, 5 min read, then 4 questions to practise
- 05What are pipes in Angular, and what is a pure vs impure pipe?
Lesson, 5 min read, then 2 questions to practise
- 06What are standalone components in Angular and how do they replace NgModules?
Lesson, 5 min read, then 1 question to practise
Chapter 2, intermediate
In depth
How it behaves under the hood, and the follow-ups that come next.
- 07AOT vs JIT compilation in Angular: what is the difference?
Lesson, 5 min read, then 4 questions to practise
- Build a Mustache-style template engine with escaping and sections
- Investigate a bundle that grew from 300 KB to 900 KB and enforce budgets in CI
- Roll out a strict Content Security Policy for an app with inline scripts and third-party analytics
- Parse a JSX-like string into a virtual DOM tree and render it back to escaped HTML
- 08concatMap vs switchMap in RxJS: cancel or queue?
Lesson, 8 min read, then 4 questions to practise
- 09How does change detection work in Angular?
Lesson, 6 min read, then 1 question to practise
- 10How does lazy loading work in Angular?
Lesson, 5 min read, then 3 questions to practise
- 11Observables vs promises in Angular: what is the difference?
Lesson, 5 min read, then 4 questions to practise
- 12Subject vs BehaviorSubject vs ReplaySubject vs AsyncSubject in RxJS
Lesson, 5 min read, then 1 question to practise
- 13switchMap vs mergeMap vs concatMap vs exhaustMap in RxJS
Lesson, 5 min read, then 2 questions to practise
- 14Template-driven vs reactive forms in Angular: what is the difference?
Lesson, 5 min read, then 3 questions to practise
- 15ViewChild vs ContentChild in Angular: what is the difference?
Lesson, 5 min read, then 1 question to practise
- 16What are route guards in Angular?
Lesson, 5 min read, then 4 questions to practise
- Build login, register and a protected dashboard without a router library: AuthProvider, useAuth and redirects
- Design authentication and authorization for an internal admin console
- Design SPA authentication: OAuth PKCE, token storage, refresh rotation and multi-tab refresh
- Implement a basic client-side router using the History API
- 17What are signals in Angular?
Lesson, 6 min read
- 18What is an HTTP interceptor in Angular?
Lesson, 5 min read, then 4 questions to practise
- 19What is dependency injection in Angular?
Lesson, 5 min read, then 1 question to practise