docs(core): fix typo in the "Template statements" guide (#39244)

PR Close #39244
This commit is contained in:
CharaLagou 2020-10-13 20:40:03 +02:00 committed by Andrew Kushnir
parent 34dbba4a90
commit 178a0437b7
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ In the following example, the template statement `deleteHero()` appears in quote
<code-example path="template-syntax/src/app/app.component.html" region="context-component-statement" header="src/app/app.component.html"></code-example>
When the user clicks the **Delete hero** button, Angular calls the `deleteHero()` function in the component class.
When the user clicks the **Delete hero** button, Angular calls the `deleteHero()` method in the component class.
You can use template statements with elements, components, or directives in response to events.