I am new to AngularJS. I am trying to POST data to call.php page from AngularJS page. My code for that is:
var request=$http({
url: "call.php",
method: "POST",
data: { uid: uname,upass: upass }
});
But on call.php page it says undefined index:uid.I want this uid and pass on call.php page and according to that I will search database row.
Please help me, Where I am wrong?
Thanx in advance.
$scopeinstead of JQuery selectors