Jason wrote a nice tutorial on how to how to get animations working between routes.

Angular 4