Using the angular-animate library