if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error); syncUrl();
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);
if (exiting.self.onExit) { $injector.invoke(exiting.self.onExit, exiting.self, exiting.locals.globals); entering = toPath[l]; entering.locals = toLocals[l]; if (entering.self.onEnter) { $injector.invoke(entering.self.onEnter, entering.self, entering.locals.globals); $state.current = to.self; $state.params = toParams; copy($state.params, $stateParams); $rootScope.$broadcast('$stateChangeSuccess', to.self, toParams, from.self, fromParams); evt = $rootScope.$broadcast('$stateChangeError', to.self, toParams, from.self, fromParams, error);