docs: fix typo in component overview (#39425)

Fixes #39424

PR Close #39425
This commit is contained in:
Kiran Kumaar Sathyanarayana 2020-10-26 15:42:30 +05:30 committed by Alex Rickabaugh
parent 57ead7aa53
commit 3236ae0ee1
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ To create a new component manually:
## Specifying a component's CSS selector
Every component requires a CSS _selector_. A selector instructs Angular to instantiate this component wherever it finds the corresponding tag in template HTML. For example, consider a component, `hello-world.component.ts` that defines its selector as `app-hello-world`. This selector instructs angular to instantiate this component any time the tag, `<app-hellow-world>` in a template.
Every component requires a CSS _selector_. A selector instructs Angular to instantiate this component wherever it finds the corresponding tag in template HTML. For example, consider a component, `hello-world.component.ts` that defines its selector as `app-hello-world`. This selector instructs angular to instantiate this component any time the tag, `<app-hello-world>` in a template.
To specify a component's selector, add a `selector` statement to the `@Component` decorator.