Reputation: 4487
I just wonder why it's called entryComponents (when I need to instantiate a component imperatively), I just don't realize how the word entry
relates to this ...
Upvotes: 1
Views: 260
Reputation: 18123
From the documentation: "A bootstrapped component is an entry component that Angular loads into the DOM during the bootstrap process (application launch). Other entry components are loaded dynamically by other means, such as with the router."
so the "entry" refers to the fact, that they are be the first component your app loads at startup or on routing. (Other components will be loaded by the entry components later)
Upvotes: 2