docs: edit entry component FAQ (#21487)

PR Close #21487
This commit is contained in:
Kapunahele Wong 2018-01-17 10:23:19 -05:00 committed by Miško Hevery
parent 2c65027391
commit 3606c55410

View File

@ -488,9 +488,9 @@ An entry component is any component that Angular loads _imperatively_ by type.
A component loaded _declaratively_ via its selector is _not_ an entry component. A component loaded _declaratively_ via its selector is _not_ an entry component.
Most application components are loaded declaratively, which means Angular loads a component declaratively when
Angular uses the component's selector to locate the element in the template. using the component's selector to locate the element in the template.
It then creates the HTML representation of the component and inserts it into the DOM at the selected element. These aren't entry components. Angular then creates the HTML representation of the component and inserts it into the DOM at the selected element. These aren't entry components.
The bootstrapped root `AppComponent` is an _entry component_. The bootstrapped root `AppComponent` is an _entry component_.
True, its selector matches an element tag in `index.html`. True, its selector matches an element tag in `index.html`.