- in your app.ts :
ionicBootstrap(MyApp, [MyDataService]);
- in your component(s).ts :
@Component({ templateUrl: 'html.html.html', /* do not add the declaration : [MyDataService] */ }) export class MyPage{ constructor(myDataService: MyDataService) { // myDataService : singleton instance }