What a good approach for sequencing / chaining several animations together? 

As an example I have a ng-view animation, within that I have several 
content elements. I'd like the content animations to run after the view 
animation has completed. At the moment I'm using ng-hide on the content 
elements and then settings a scope variable when the ng-view-enter 
completes. Its not exactly a graceful full solution. Obviously I could add 
all animations into the ng-view-enter but I'd like to keep in separate 
directives to make the code re-usable. Here's an example using TweenMax :

http://plnkr.co/edit/5zNS0FLs0cnJalrusWvE?p=preview

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to