Passing parameter for $http with angular js.
$http({
method: 'get',
url: 'http://mmres.baganthandehotel.net/mmresadmin/invoicejson.php',
data: $.param({'chk': '2015-06-02'}),
headers: { 'Content-Type': 'application/json; charset=utf-8'}
})
.success(function(data){
$scope.list = data;
console.log($scope.list);
}),
I can't received the value chk($_GET['chk']) from my server side.Why can't receive these parameter?