Ion-router-outlet

Hi, I have an ionic-navigation app. Now I am changing to routing concept, by commenting ion-nav to ion router-outlet.

Below is my current code

<ion-nav [root]=“rootPage” #content swipeBackEnabled=“false”>

No w am changing to


and adding routing params to app.module.ts and am unable to understand how to access from app/component.ht,l and etc.

And how to change existing ion-nav(here am using push and pop on navigation Controller, Now I want to change to ionic routing) app to ionic-router-outlet.

So please help me.