docs: missing item variable in structural directives example (#35213)

PR Close #34762
PR Close #35213
This commit is contained in:
Sachin Grover 2020-02-07 13:07:18 +05:30 committed by Kara Erickson
parent 54c3a5da3f
commit 843b3a2197
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ describes additional `NgFor` directive properties and context properties.
These microsyntax mechanisms are also available to you when you write your own structural directives.
For example, microsyntax in Angular allows you to write `<div *ngFor="let item of items">{{item}}</div>`
instead of `<ng-template ngFor [ngForOf]="items"><div>{{item}}</div></ng-template>`.
instead of `<ng-template ngFor let-item [ngForOf]="items"><div>{{item}}</div></ng-template>`.
The following sections provide detailed information on constraints, grammar,
and translation of microsyntax.