diff --git a/src/viewDirective.js b/src/viewDirective.js index 3610025f6..0a4dce845 100644 --- a/src/viewDirective.js +++ b/src/viewDirective.js @@ -210,6 +210,10 @@ function $ViewDirective( $state, $injector, $uiViewScroll) { var clone = $transclude(newScope, function(clone) { renderer.enter(clone, $element, function onUiViewEnter() { + if(currentScope) { + currentScope.$emit('$viewContentAnimationEnded'); + } + if (angular.isDefined(autoScrollExp) && !autoScrollExp || scope.$eval(autoScrollExp)) { $uiViewScroll(clone); }