Question · Angular course · Module 2: Components

The @Component Decorator

Which property of the @Component decorator defines the component's HTML tag name?

Answer options

  • template
  • selector
  • name
  • tag
Show the answer

Correct answer:

  • selector