Skip to content

Commit 88a2c92

Browse files
jakespvkthePunderWoman
authored andcommitted
docs: update the first app tutorial to include a note about importing NgFor directive (angular#60627)
PR Close angular#60627
1 parent 2d89431 commit 88a2c92

File tree

1 file changed

+2
-0
lines changed
  • adev/src/content/tutorials/first-app/steps/08-ngFor

1 file changed

+2
-0
lines changed

adev/src/content/tutorials/first-app/steps/08-ngFor/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Now the app has a dataset that you can use to display the entries in the browser
3939

4040
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.
4141

42+
IMPORTANT: Don't forget to import the `NgFor` directive in your `HomeComponent` class.
43+
4244
1. Save all changes.
4345

4446
1. Refresh the browser and confirm that the app now renders a grid of housing locations.

0 commit comments

Comments
 (0)