1 min readFeb 25, 2020
Hi Marek!
Not sure if I get it but in general, I put reusable services in /core
directory (and sub directories based on feature eg /core/auth
or /core/user
) and I use providedIn: 'root'
. So they are not in providers: [ ]
of the CoreModule
…
Then they can be injected in any component or service in the whole app as they are application wide singletons.
Hope that makes sense!