Angular - Directives
Identify the error in this template snippet:
<li *ngFor="let item in items">{{item}}</li><li *ngFor="let item in items">{{item}}</li>Angular requires let item of items, not in.
No parentheses needed, and let is correct for declaring the variable.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions