I hava a (singleton) service that contains some code in the constructor which should be run directly after startup. That menas an instance has to be created immidiately when the app is loaded. One possibility to instanciate the service is to put it in the constructor of the app component: export class AppComponent { constructor(private mySercive: MyService ... but since I never use myService in this component I will get a warning like mySerive is not used and someone else in my team might delete the service. Is there a way to instanciate the serivce inside the app module? Continue reading...