Skip to content

Commit 8d46cc9

Browse files
ruanhaatscott
authored andcommitted
docs: fix template example (angular#46170)
Fix a typo that prevents an example to show. PR Close angular#46170
1 parent 2a3dfb9 commit 8d46cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aio/content/guide/architecture-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Your template can use *data binding* to coordinate the application and DOM data,
8080

8181
For example, here is a template for the Tutorial's `HeroListComponent`.
8282

83-
<code-exampleheader="src/app/hero-list.component.html" path="architecture/src/app/hero-list.component.html" ></code-example>
83+
<code-example header="src/app/hero-list.component.html" path="architecture/src/app/hero-list.component.html" ></code-example>
8484

8585
This template uses typical HTML elements like `<h2>` and `<p>`, and also includes Angular template-syntax elements, `*ngFor`, `{{hero.name}}`, `(click)`, `[hero]`, and `<app-hero-detail>`.
8686
The template-syntax elements tell Angular how to render the HTML to the screen, using program logic and data.

0 commit comments

Comments
 (0)