title: Ionic 4 - how to pass data between pages using navCtrl or Router service
body: <p>In Ionic 3 you could use the second argument of the navController to pass data to the next page and retrieve it with the navParams service.</p>
  
  <p>This was a really convenient feature. Is there an equivalent api for routing in Ionic 4? </p>
  
  <p>You can always JSON.stringify the object/array to the routerParams, which in my opinion is less convenient.</p>
  
  <p>In Ionic 4 you can pass data with the modalController using ComponentProps and @Input() making it more suitable of a quick push/pop implementation.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>My intention with this question is to find out if there are any native APIs from Angular 6+ or Ionic 4+. I am well aware of ways to implement a custom service or resolver to accomplish this.</p>
  
  <p>The goal is to use ionic's and angular's api to its fullest, since in larger projects each custom code requires documentation and increases complexity.</p>