[Ionic 4] Get data in modal passed with componentProps

Not agree with that, I use beta.7 and NavParams and don’t get any injector error

Furthermore they are supported, see their implementation https://github.com/ionic-team/ionic/blob/4fcab896511672795c0bdf0ecf1b5561f67b3b45/angular/src/directives/navigation/nav-params.ts

agree with the answer of @aaronksaunders to your same post there [Ionic-v4] Modal Parameters - #6 by aaronksaunders @Input are not necessary in that case