Angular.js ng-view javascript animation's in GSAP Posted April 7, 2015 Hello, for ng-view you can use $rootScope.$on('$viewContentLoaded' app.run(['$rootScope', function ($rootScope) { $rootScope.$on('$viewContentLoaded',function(event, viewConfig){ TweenMax.fromTo($('.anim-smooth') ,2, {autoAlpha: 0, display:'none'},{autoAlpha: 1, display:'block'}); }); }]);
Angular.js ng-view javascript animation's
in GSAP
Posted
Hello, for ng-view you can use $rootScope.$on('$viewContentLoaded'