Added some ngAnimate magic