Bootstrapping Flashcards
1
Q
What decorator do you use for Boostraping the root of the application?
A
@NgModule
2
Q
List all array types og @NgModule
A
declaration - components imports, exports - for modules providers - service providers bootstrap - root components inserted into index.html entryComponents
3
Q
What is defined in the “declarations array” ?
A
components
directives
pipes
4
Q
How many modules can declarables belong to?
A
Only one!