Bootstrapping Flashcards

1
Q

What decorator do you use for Boostraping the root of the application?

A

@NgModule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is defined in the “declarations array” ?

A

components
directives
pipes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many modules can declarables belong to?

A

Only one!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly