I want to pass my data from one to another controller .
here is my functions :  
   app.controller('formVacationController', function($scope, $state, $rootScope) {
    // we will store all of our form data in this object
    $scope.formData = {};
    $rootScope.globalAnswers = "";
    var point;
    checkAnswer = function(){
        if($scope.formData.mashhad === "mashhad"){
            point =  50;
        }
        else if($scope.formData.kish === "kish"){
            point =  100;
        }
        else if($scope.formData.shomal === "shomal"){
            point =  70;
        } else if($scope.formData.shiraz === "shiraz"){
            point =  60;
        }
    }
    $scope.nextStep = function(){
        checkAnswer();
        $rootScope.globalAnswers = point;
        $state.go('form.job');
    }
}); 
and in Another :
  var point;
    point = $rootScope.globalAnswers;  
i'm not able to get value from first controller .
Am i missing something ?