Question · Angular course · Module 2: Components

Standalone Component

Which property of the @Component decorator marks the component as independent (not requiring an NgModule)?

Answer options

  • independent: true
  • module: false
  • standalone: true
  • single: true
Show the answer

Correct answer:

  • standalone: true