I have been reading the angular 9 documentation, and it states you can use the provideIn: 'platform' to share a singleton service across two angular applications, but I was not able to find a good example and the documentation is not clear about how to do it.
Supposing I have application1 with a service1 and application2 with a service2, and I want to somehow call a method of service2 from service1.
How can I make that "call"? should I somehow require or import the application2 into the application1?