How to call parent function from child?

I can’t call parent function from child…
Does someone know how to do it???

here is my example code and I am using ionic slide menu.

first.js

var commentNum = 10;
$scope.comment = commentNum;

$scope.go('menu.second',{"comment" : $scope.comment });

$scope.refresh = function(){
    //I want to fire this refresh function from child.
    //please fire!
}

second.js

$scope.fire = function(){
    close();
}

function close(){
   //need to fire parent function here!
    $ionicHistory.goBack();
}