Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $scope.attemptLogin = function(login, password)
- {
- $http({
- method: "POST",
- url: "http://localhost/ProApp/trunk/apioffline.php?request=auth",
- data: {user: login, password: password}
- }).success(
- function(html) {
- console.log(html);
- $scope.info = html;
- }
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement