Loading topic
ng command, so this chapter covers installing it, how its commands are organized, how the global and project-local copie6 min readng version without errors. It also assumes you are comfortable with a terminal, npm, and basic Git. This chapter covers what ng new does, the choices it asks you to make, the flags t6 min readng new generates a few dozen files. Most of them stay the same for the life of a project. A few you will edit every day. This chapter goes through the workspace from the top down: what each file does, which ones you change, and which ones you can usually leave alone.5 min readng new (here called my-app) and can run commands from its root folder. You should also know basic npm usage and be comfortable reading JSON configuration files. You will learn what ng serve does internally, how to configure it, whi5 min readng serve displayed your app in the browser. This chapter covers what happens between the moment the browser loads the page and the moment your root component appears on screen. You will trace the startup path through index.html, main.ts, and app.config.ts, and see what e5 min read@if, @for and @switch. They are part of the template syntax, so you do not5 min read@if, and @for. Earlier chapters covered all of those. Here you will learn how Angular tracks changing state with signals, how to derive values with computed, 5 min readng test works, how to write tests for the counter, todo list and greeting examples from earlier chapters, and ho5 min read