I am new to the Angular framework, and have recently been introduced to the attribute *ngFor="".
As I have learned, this takes the same parameters as an JavaScript for() loop... And therefore, *ngFor="let item of itemCollection". But, in contrast to other directives, *ngFor does not require [] around it to be treated as code.
This documentation page suggests that the hero attribute needs [] around it for the value to be treated as code, and returning the value of "hero":
<app-hero-detail *ngFor="let hero of heroes" [hero]="hero"></app-hero-detail>
Why is it so? The *ngFor is also evaluated, but does not need the [] obviously... Is it the * prefix that indicates that the value must always be treated as code or what?