docs: swap the anchor to the correct one (#61200)

The anchor on the link - is not working, swap the anchor to the correct one
PR Close #61200
This commit is contained in:
Vlad Boisa 2025-05-08 05:08:14 +02:00 committed by Alex Rickabaugh
parent c49d206dd6
commit b3bb2a16f2

View file

@ -138,7 +138,7 @@ If you declare the variable on a Angular component, the variable refers to the c
<my-datepicker #startDate />
```
If you declare the variable on an `<ng-template>` element, the variable refers to a TemplateRef instance which represents the template. For more information, see [How Angular uses the asterisk, \*, syntax](/guide/directives/structural-directives#asterisk) in [Structural directives](/guide/directives/structural-directives).
If you declare the variable on an `<ng-template>` element, the variable refers to a TemplateRef instance which represents the template. For more information, see [How Angular uses the asterisk, \*, syntax](/guide/directives/structural-directives#structural-directive-shorthand) in [Structural directives](/guide/directives/structural-directives).
```angular-html
<!-- The `myFragment` variable is assigned the `TemplateRef` instance corresponding to this template fragment. -->