Q. Which Angular decorator is used to provide a service at the root level?
β
Correct Answer: (A)
@Injectable({ providedIn: 'root' })
Explanation: This syntax registers a service globally using tree-shakable providers.