docs: fix ng-for link in structural-directives.md (#42293)

Correctly the reference to ng-for as `NgForOf` so that we get the word linked to the API page.

`NgFor` is not a JavaScript symbol so the docs infra doesn't autolink to the API page unless
we use the correct symbol name - `NgForOf`.

PR Close #42293
This commit is contained in:
Igor Minar 2021-05-24 14:40:10 -07:00 committed by Zach Arend
parent a39169851e
commit 44c8f46131
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ For the example application that this page describes, see the <live-example></li
</div> </div>
For more information on Angular's built-in structural directives, such as `NgIf`, `NgFor`, and `NgSwitch`, see [Built-in directives](guide/built-in-directives). For more information on Angular's built-in structural directives, such as `NgIf`, `NgForOf`, and `NgSwitch`, see [Built-in directives](guide/built-in-directives).
{@a unless} {@a unless}