Direction: Choose the correct option
Q1.
Which Angular CLI command generates a service?
Direction: Choose the correct option
Q2.
What is the default file extension for a generated service?
Direction: Choose the correct option
Q3.
What does the `providedIn` property in @Injectable do?
Direction: Choose the correct option
Q4.
If `providedIn` is not specified, how can you provide the service?
Direction: Choose the correct option
Q5.
What is the advantage of `providedIn: 'root'`?
Direction: Choose the correct option
Q6.
What does the `--flat` flag do when generating a service?
Direction: Choose the correct option
Q7.
How do you generate a service in a specific module?
Direction: Choose the correct option
Q8.
What is the default behavior of `ng generate service` regarding `providedIn`?
Direction: Choose the correct option
Q9.
Can you have multiple services with the same name in different folders?
Direction: Choose the correct option
Q10.
What is the purpose of the `--skip-tests` flag when generating a service?
