Is this what you are looking for?
http://codepen.io/anon/pen/JaHKL
Basically, you need to set style="display: none;"
to declare the initial state.
Otherwise, the initial state will be display:inline
, and when AngularJS reads data-ng-show="false"
, it will trigger your hide
animation to fit your settings.
Hope this helps.
source share