SHARE
TWEET

Untitled

a guest Oct 5th, 2016 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. angular.module('registration', [])
  2.     .controller('RegistrationController',['$scope','$http', function($scope, $http){
  3.         var isvalid = true;
  4.         if(isvalid){
  5.         $scope.submit = function(user){
  6.            
  7.        
  8.        $http.post("registration_validate.php", user ).then(function(response) { console.log(response); }, function(error) { console.log(error); });
  9.              
  10.         };
  11.        
  12.         };
  13.     }]);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top