Use providers without specifying it in constructors


Hi All,

How could we use services or providers without specifying it in constructors, example

constructor(public navCtrl: NavController, params: NavParams, public testService: TestService, public valueService: ValueService) {


Where in the Component annotation we would have

  selector: 'list-page',
  templateUrl: 'list.html',
  providers: [TestService, ValueService]

Where the constructor could get large simply due to the number of services used.

Use service without constructor parameter