As logic, my tween's are very simple:
var selectedIndex =0; Slide in img[selectedIndex] and text[selectedIndex] On mousewheel - fade out text, slide out current img onComplete: promise selectedIndex++, then slide In img/text[selectedIndex]..etc
As single tween everything working just fine. But all this complicated with some other tweens, routing change, callbacks..
You're right about $scope.$apply() in Angular 1.x, in Angular 2 zone.js do all this things for us.
You reminded me...callbacks... Is it normal to use it like this?
TweenMax.to(element, 0.5, { vars, onComplete: () => {this.callFunction()} });
I do that, because i cant call component functions iside the normal onComplete: function(), onCompleteParams: [{}]. This is because onComplete has a different scope, as i think.
If it is normal, my second thought - what if my stucking variable is changing in different scope, that zone is not watching or get bugs over there?