Direction: Choose the correct option
Q1.
What is a service in Angular?
Direction: Choose the correct option
Q2.
How is a service typically defined?
Direction: Choose the correct option
Q3.
What is the purpose of the `@Injectable()` decorator?
Direction: Choose the correct option
Q4.
Why use services in Angular?
Direction: Choose the correct option
Q5.
What is a singleton service?
Direction: Choose the correct option
Q6.
What is the difference between a service and a component?
Direction: Choose the correct option
Q7.
Can services have dependencies on other services?
Direction: Choose the correct option
Q8.
What is the role of services in component communication?
Direction: Choose the correct option
Q9.
Where should HTTP calls be made in Angular?
Direction: Choose the correct option
Q10.
What is the typical naming convention for service files?
