When I use $http.get my code works, but if I use $http.post, I never get the parameters to the request .php file.
$http.get
This is Service function:
Post data like this:
$http.post('/data/AJAXRequest.php', { mydata: 1, abcd: 2 })