$http.get(URL,{ params: { "id":id } }) .success(function(response, status, headers, config){ })
$http.post(URL,{ "id":id }) .success(function(response, status, headers, config){ })
$http({ method: "POST", url: "xxxxxx", data: { "orderNo": "xxx" }, headers: { 'Content-Type': 'application/json' }, }).success(function (response) { console.log(response); });