docs: Remove confusion between do/avoid templates (#38647)

PR Close #38647
This commit is contained in:
Dwayne Hinterlang 2020-08-31 00:50:16 +02:00 committed by Joey Perrott
parent d5fabc303d
commit 0a7a5e3aff

View File

@ -10,8 +10,8 @@ import { Hero } from '../shared/hero.model';
template: ` template: `
<section> <section>
Our list of heroes: Our list of heroes:
<hero-profile *ngFor="let hero of heroes" [hero]="hero"> <toh-hero *ngFor="let hero of heroes" [hero]="hero">
</hero-profile> </toh-hero>
Total powers: {{totalPowers}}<br> Total powers: {{totalPowers}}<br>
Average power: {{totalPowers / heroes.length}} Average power: {{totalPowers / heroes.length}}
</section> </section>