ANGULAR QUIZ
1 .
Which is the correct command to create a component named CustomerDetailComponent with the CLI (with this exact casing)?

Correct Answer : Option (D)

ng generate component customer-detail
  Show Answer
2 .
What is the purpose of FormBuilder?

Correct Answer : Option (B)

Creates the form data structure from a specified configuration when building reactive forms
  Show Answer
3 .
Which Angular CLI flag will not generate unit tests for a component?

Correct Answer : Option (A)

--spec false
  Show Answer
4 .
Which of the following will map the name of an input parameter "userData" to a field named "users"?

Correct Answer : Option (A)

@Input('userData') users
  Show Answer
5 .
When using FormBuilder, how are validation rules specified?

Correct Answer : Option (A)

As part of the FormControl configuration: heroName: ['', Validators.required]
  Show Answer