app.controller("FlugBuchenCtrl", ["$scope", "$http", "$q", "$stateParams", "$state",
    function ($scope, $http, $q, $stateParams, $state) {
        $scope.vm = new FlugBuchenVM($scope, $http, $q, $stateParams, $state);
}]); 
function FlugBuchenVM(scope, http, q, stateParams, state) {
    […]
    this.stateParams = stateParams;
    this.state = state;
    this.goToNextState = function () {
         var current = this.state.current.name;
         switch(current) {
            case "flugbuchung.passagier":
                this.state.go("flugbuchung.flug");
            break;
            case "flugbuchung.flug":
                this.state.go("flugbuchung.buchen");
            break;
        }   
    }
}