docs: update the first app tutorial to include a note about importing NgFor directive (#60627)

PR Close #60627
This commit is contained in:
Jake Spievak 2025-03-29 11:58:45 -07:00 committed by Jessica Janiuk
parent 2d8943122b
commit 88a2c92f87

View file

@ -39,6 +39,8 @@ Now the app has a dataset that you can use to display the entries in the browser
Note, in the code `[housingLocation] = "housingLocation"` the `housingLocation` value now refers to the variable used in the `ngFor` directive. Before this change, it referred to the property on the `HomeComponent` class.
IMPORTANT: Don't forget to import the `NgFor` directive in your `HomeComponent` class.
1. Save all changes.
1. Refresh the browser and confirm that the app now renders a grid of housing locations.