parent
02377335ec
commit
af2a843446
|
@ -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`.
|
||||
|
|
Loading…
Reference in New Issue