Question about animation


#1

Hi.
Its my first try on animations so maybe I am doing something wrong.
As a test I wanted to fade an image in and out with ng-show.
Show is set to false in the controller and then toggled with a button.
The problem is, when I enter the view I see the image fading out.
Is it possible to have the image invisible first without the fade out animation?

Thanks


#2

add the intial css-class ng-hide to your image then it will be initially hidden


#3

It is working. So easy and it took me so long.
Thank you very much.