Skip to content

Commit

Permalink
docs: fix selector reference to match code example
Browse files Browse the repository at this point in the history
Closes 21957
  • Loading branch information
jbogarthyde committed Feb 8, 2018
1 parent ffa43f0 commit 4ffe4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aio/content/guide/architecture-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In addition to containing or pointing to the template, the `@Component` metadata

This example shows some of the most useful `@Component` configuration options:

* `selector`: A CSS selector that tells Angular to create and insert an instance of this component wherever it finds the corresponding tag in template HTML. For example, if an app's HTML contains `<hero-list></hero-list>`, then
* `selector`: A CSS selector that tells Angular to create and insert an instance of this component wherever it finds the corresponding tag in template HTML. For example, if an app's HTML contains `<app-hero-list></app-hero-list>`, then
Angular inserts an instance of the `HeroListComponent` view between those tags.

* `templateUrl`: The module-relative address of this component's HTML template. Alternatively, you can provide the HTML template inline, as the value of the `template` property. This template defines the component's _host view_.
Expand Down

0 comments on commit 4ffe4bd

Please sign in to comment.