title: Is there a more effective way to serialize a form with angularjs?
body: <p>Is there a way to serialize function for angularjs?</p>
  
  <p>my post looks like this right now.</p>
  
  <pre><code>$scope.signup_submit = function () {
    var formData = {
      username: $scope.username,
      full_name: $scope.full_name,
      email: $scope.email,
      password: $scope.password,
      confirm_password: $scope.confirm_password
    }
  
    $http({
      method: "POST",
      url: '/signup',
      data: formData,
    }).success(function (data) {
      if (data.status == 'success') {
        alert('all okay');
      } else {
        alert(data.msg)
      }
    });
  }
  </code></pre>