Direction: Choose the correct option
Q1.
What is dependency injection in Angular?
Direction: Choose the correct option
Q2.
What is an injector in Angular?
Direction: Choose the correct option
Q3.
How do you inject a service into a component?
Direction: Choose the correct option
Q4.
What is the role of providers in DI?
Direction: Choose the correct option
Q5.
What is a hierarchical injector?
Direction: Choose the correct option
Q6.
What is the `@Injectable` decorator's role in DI?
Direction: Choose the correct option
Q7.
What is a provider token?
Direction: Choose the correct option
Q8.
What is `@Optional` decorator used for?
Direction: Choose the correct option
Q9.
What is `@Self` decorator?
Direction: Choose the correct option
Q10.
What is `@SkipSelf` decorator used for?
