Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix links in ng-template #55443

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tools/manual_api_docs/elements/ng-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ control over how and when the content is displayed.
### Structural Directives

One of the main uses for `<ng-template>` is to hold template content that will be used
by [Structural directives](guide/structural-directives). Those directives can add and remove copies
by [Structural directives](guide/directives/structural-directives). Those directives can add and remove copies
of the template content based on their own logic.

When using
the [structural directive shorthand](guide/structural-directives#structural-directive-shorthand),
the [structural directive shorthand](guide/directives/structural-directives#structural-directive-shorthand),
Angular creates an `<ng-template>` element behind the scenes.

### TemplateRef
Expand All @@ -44,7 +44,7 @@ method `createEmbeddedView()`.
### Template Variables

`<ng-template>` elements can be referenced in templates
using [standard template variables](guide/template-reference-variables#how-angular-assigns-values-to-template-variables).
using [standard template variables](guide/templates/reference-variables#how-angular-assigns-values-to-template-variables).

*This is how `<ng-template>` elements are used as `ngIf` else clauses.*

Expand Down