docs(common): Remove async pipe from ngFor example (#33378)

Using the async pipe as the very first example makes it very confusing for beginners. Most people believe that | async is required for ngFor. I would remove that part to make the example solely focused on NgFor.
PR Close #33378
This commit is contained in:
Alain Chautard 2019-10-24 11:39:39 -07:00 committed by atscott
parent 602eeee7d6
commit 4d4b527474
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export class NgForOfContext<T> {
* For example:
*
* ```
* <li *ngFor="let user of userObservable | async as users; index as i; first as isFirst">
* <li *ngFor="let user of users; index as i; first as isFirst">
* {{i}}/{{users.length}}. {{user}} <span *ngIf="isFirst">default</span>
* </li>
* ```