docs: fixes on paragraph (#39664)

Phrasing improved, missing word added, lowercase "angular" fixed, unnecessary, commas removed.

PR Close #39664
This commit is contained in:
Licanueto 2020-11-12 20:40:30 -03:00 committed by atscott
parent cc509d609f
commit 3273856d33
1 changed files with 2 additions and 2 deletions

View File

@ -110,9 +110,9 @@ 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-hello-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>` appears in a template.
To specify a component's selector, add a `selector` statement to the `@Component` decorator.
Specify a component's selector by adding a `selector` statement to the `@Component` decorator.
<code-example
path="component-overview/src/app/component-overview/component-overview.component.ts"