From 4d4b5274749c967d834f503556410f68f29a8a8f Mon Sep 17 00:00:00 2001 From: Alain Chautard Date: Thu, 24 Oct 2019 11:39:39 -0700 Subject: [PATCH] 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 --- packages/common/src/directives/ng_for_of.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/directives/ng_for_of.ts b/packages/common/src/directives/ng_for_of.ts index 446a967e92..680e283d2c 100644 --- a/packages/common/src/directives/ng_for_of.ts +++ b/packages/common/src/directives/ng_for_of.ts @@ -75,7 +75,7 @@ export class NgForOfContext { * For example: * * ``` - *
  • + *
  • * {{i}}/{{users.length}}. {{user}} default *
  • * ```