Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $scope.submit = function () {
  2. var request = $http({
  3.                 method: "post",
  4.                 url: "login.php",
  5.                 data: {
  6.                     username: $scope.username,
  7.                     password: $scope.password
  8.                 },
  9.                 headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
  10.             });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement