Angular · Senior · Question 66 of 75

What does providedIn: 'platform' mean?

Explanation

It's rare. Most services should be 'root' so each app (and each SSR request) gets its own instance.

Further reading

Problem with a question

Angular · Senior · question 66

Test yourself

Take the Angular · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz