Angular · Senior · Question 66 of 75
What does providedIn: 'platform' mean?
- ✓Correct answer: One instance shared by all Angular apps on the same page (e.g. several Angular Elements)
- 2The service is available only on the server
- 3One instance per lazy route
Explanation
It's rare. Most services should be 'root' so each app (and each SSR request) gets its own instance.