Q. How can you provide a service at the component level?
β
Correct Answer: (A)
Add the service in the component's providers array
Explanation: Providing service in component providers creates a new instance scoped to that component.