Ionic material design animations does not work while state transition

I am trying to use Ionic material design animation methods like ionicMaterialMotion.fadeSlideIn(), ionicMaterialMotion.fadeSlideInRight();
It works fine when application loads for first time, but it does not show animation effect when we move from one state to another state i.e. move to another state and come back.

Does not get any error regarding injecting ionicMaterialMotion, etc.
Please give a solution.