docs: Remove confusion between do/avoid templates (#38647)
PR Close #38647
This commit is contained in:
parent
d5fabc303d
commit
0a7a5e3aff
|
@ -10,8 +10,8 @@ import { Hero } from '../shared/hero.model';
|
|||
template: `
|
||||
<section>
|
||||
Our list of heroes:
|
||||
<hero-profile *ngFor="let hero of heroes" [hero]="hero">
|
||||
</hero-profile>
|
||||
<toh-hero *ngFor="let hero of heroes" [hero]="hero">
|
||||
</toh-hero>
|
||||
Total powers: {{totalPowers}}<br>
|
||||
Average power: {{totalPowers / heroes.length}}
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue