In mySerivce.ts make sure it is providedIn 'root' @injectable({ provideIn: 'root' )} export class myService { ... } In app.module.ts add the service to Providers @NgModule({ ... providers: [ StatusBar, <ServiceName> ... ],