Suggested way to implement custom animations

Hi,
i’ve seen that $ionicAnimation was removed from ionic, so what is the suggested way to implement animations in ionic?
Thanks