Adding animation to ng-hide classes