Skip to content

Commit

Permalink
docs: modify header and path (#45828)
Browse files Browse the repository at this point in the history
Change header and path to match with file in the example folder

PR Close #45828
  • Loading branch information
alefra86 authored and jessicajaniuk committed Jun 10, 2022
1 parent da8ea7d commit 55a0efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aio/content/guide/content-projection.md
Expand Up @@ -121,7 +121,7 @@ The following steps demonstrate a typical implementation of conditional content
1. [Create an attribute directive](guide/attribute-directives#building-an-attribute-directive) with a selector that matches the custom attribute for your template.
In this directive, inject a `TemplateRef` instance.

<code-example header="content-projection/src/app/app.component.ts" path="content-projection/src/app/app.component.ts" region="zippycontentdirective"></code-example>
<code-example header="content-projection/src/app/example-zippy.component.ts" path="content-projection/src/app/example-zippy.component.ts" region="zippycontentdirective"></code-example>

In the previous step, you added an `<ng-template>` element with a custom attribute, `appExampleZippyContent`.
This code provides the logic that Angular will use when it encounters that custom attribute.
Expand Down

0 comments on commit 55a0efe

Please sign in to comment.