Working on my first Angular app.
All of my services will talk to a web service on the same server. I want each of the services to use common code to perform this communication to allow the services to communicate on the business logic. For instance, I want to code the server name once.
The way I've done this on other platforms is to create a static class with those methods on it and then call those methods from my services. How do I achieve this with Angular 5, as I'm only aware of templates, components, and services?