docs: Remove confusion between do/avoid templates (#38647)
PR Close #38647
This commit is contained in:
parent
91dfb18840
commit
cbbf8b542f
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user