How to implement Angular4 like dynamic change of components on the screen in ionic


I am trying to implement a dynamic component change in ionic , the way that angular provides with its routing capabilities,
for example in angular ,
i have a parent component A , inside which there is a component B and C ,
now i wish to change (route) component C to a Component D without changing B and staying in A itself .
this is easily done in angular using a child router which swaps C for D ,
but how do i replicate the same effect in ionic??
any suggestions?