Question about animation

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?


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

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