Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $scope.attemptLogin = function(login, password)
  2.                 {
  3.                     $http({
  4.                         method: "POST",
  5.                         url: "http://localhost/ProApp/trunk/apioffline.php?request=auth",
  6.                         data: {user: login, password: password}
  7.                     }).success(
  8.                             function(html) {
  9.                                 console.log(html);
  10.                                 $scope.info = html;
  11.  
  12.                             }
  13.                     );
  14.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement