Table of Contents
Preface ������������������������������������������������������������������������������������������������������������������������������������������ 4
Introduction ��������������������������������������������������������������������������������������������������������������������������������� 5
How this book is organized ������������������������������������������������������������������������������������������������������������������������������������������������������������ 6
Angular v14 ���������������������������������������������������������������������������������������������������������������������������������� 8
Standalone API (developer preview) ����������������������������������������������������������������������������������������������������������������������������������������9
Typed forms ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 13
Inject function ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ 15
CDK Dialog and Menu ���������������������������������������������������������������������������������������������������������������������������������������������������������������������17
Setting the page title ���������������������������������������������������������������������������������������������������������������������������������������������������������������������� 18
ENVIRONMENT_INITIALIZER Injection Token �������������������������������������������������������������������������������������������������������������������������� 20
Binding to protected component members �������������������������������������������������������������������������������������������������������������������������21
Angular extended diagnostics ���������������������������������������������������������������������������������������������������������������������������������������������������22
ESM Application Build (experimental) ����������������������������������������������������������������������������������������������������������������������������������� 24
Typescript/Node�js support �������������������������������������������������������������������������������������������������������������������������������������������������������� 24
Angular v15 �������������������������������������������������������������������������������������������������������������������������������� 29
Standalone API (Stable)��������������������������������������������������������������������������������������������������������������������������������������������������������������� 30
Directive composition API ������������������������������������������������������������������������������������������������������������������������������������������������������������ 36
Image directive �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 38
MDC-based components ������������������������������������������������������������������������������������������������������������������������������������������������������������ 39
CDK Listbox �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������40
Improved stack traces ������������������������������������������������������������������������������������������������������������������������������������������������������������������� 41
Auto-imports in language service ������������������������������������������������������������������������������������������������������������������������������������������ 43
Typescript/Node�js support �������������������������������������������������������������������������������������������������������������������������������������������������������� 44
Angular v16 �������������������������������������������������������������������������������������������������������������������������������� 47
Signals library (developer preview) ��������������������������������������������������������������������������������������������������������������������������������������� 48
SSR Hydration (developer preview) ����������������������������������������������������������������������������������������������������������������������������������������� 51
Vite-powered dev server ������������������������������������������������������������������������������������������������������������������������������������������������������������� 53
Required inputs �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 54
Input transform function �������������������������������������������������������������������������������������������������������������������������������������������������������������� 57
Router data input bindings ���������������������������������������������������������������������������������������������������������������������������������������������������������58
Injectable DestroyRef and takeUntilDestroyed ������������������������������������������������������������������������������������������������������������������60
Self-closing tags ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������� 62
runInInjectionContext �������������������������������������������������������������������������������������������������������������������������������������������������������������������� 63
Standalone API CLI support ��������������������������������������������������������������������������������������������������������������������������������������������������������64