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 Chuck Jazdzewski
parent 02377335ec
commit af2a843446
1 changed files with 3 additions and 3 deletions

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.
Most application components are loaded declaratively, which means
Angular uses 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 loads a component declaratively when
using the component's selector to locate the element in the template.
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_.
True, its selector matches an element tag in `index.html`.