Direction: Choose the correct option
Q1.
What decorator is used to define a component?
Direction: Choose the correct option
Q2.
What property in @Component defines the HTML selector?
Direction: Choose the correct option
Q3.
How do you define an inline template for a component?
Direction: Choose the correct option
Q4.
Where are component-specific styles defined?
Direction: Choose the correct option
Q5.
What is the lifecycle of a component?
Direction: Choose the correct option
Q6.
What is the selector for the root component by default?
Direction: Choose the correct option
Q7.
How do you use a component in a template?
Direction: Choose the correct option
Q8.
What is the relationship between a component and a directive?
Direction: Choose the correct option
Q9.
Can a component have multiple selectors?
Direction: Choose the correct option
Q10.
What is the purpose of `changeDetection` property in @Component?
