hi all,
i tray to add " $state.go(‘app.URL’); " inside my controller
.controller(‘getPictureCtrl’, function($scope) {
…
…
$state.go(‘app.endtrip’);
…
…
}
thanks
hi all,
i tray to add " $state.go(‘app.URL’); " inside my controller
.controller(‘getPictureCtrl’, function($scope) {
…
…
$state.go(‘app.endtrip’);
…
…
}
thanks
Don’t forget to pass $state to your controller:
...controller('getPictureCtrl', function($scope, $state)...
thank you! work fine