docs: replaced hero with heroes component property (#29487)

PR Close #29487
This commit is contained in:
Amit Chaurasia 2019-03-23 10:00:34 +05:30 committed by Miško Hevery
parent 6c33058856
commit ac3ce0d793

View File

@ -357,7 +357,7 @@ big chunks of HTML with many data bindings.
Try it out. Because the array has four items, the message should appear. Try it out. Because the array has four items, the message should appear.
Go back into <code>app.component.ts</code> and delete or comment out one of the elements from the hero array. Go back into <code>app.component.ts</code> and delete or comment out one of the elements from the heroes array.
The browser should refresh automatically and the message should disappear. The browser should refresh automatically and the message should disappear.