docs: fix tutorial indicating the app is working when an error is actually displayed (#40732)

PR Close #40732
This commit is contained in:
Pierre Portejoie 2021-02-06 10:25:11 +01:00 committed by Andrew Kushnir
parent d58747de8a
commit fdd55c9ec7
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ Make it look like this:
<code-example path="toh-pt2/src/app/heroes/heroes.component.1.html" region="list" header="heroes.component.html (heroes template)"></code-example>
That shows one hero. To list them all, add an `*ngFor` to the `<li>` to iterate through the list of heroes:
That displays an error since the property 'hero' does not exist. To have access to each individual hero and list them all, add an `*ngFor` to the `<li>` to iterate through the list of heroes:
<code-example path="toh-pt2/src/app/heroes/heroes.component.1.html" region="li">
</code-example>