Here is the function in my angular controller:
$scope.selectinteresteduser = function(Id){
$scope.selecteduserid = Id;
}
$scope.sendMessageToEmployeer = function($scope.selecteduserid) {
alert($scope.selecteduserid);
}
I am looking for a way to pass the value of $scope.selecteduserid to the sendMessageToEmployer function. Can anyone provide guidance on how to accomplish this?