title: Angular: How to send object through $http.get?
body: <p>customerLogin is object that I want to send to my service. 
  I do not want to use query string and do not want parameters separately.
  Below is the code:    </p>
  
  <pre><code>var config = {
    customerLogin : {  // object I intend to send
      'EmailID': $scope.existingCustomer.email,
      'PhoneNumber': $scope.existingCustomer.phoneNumber,
      'Passkey': $scope.existingCustomer.password
    }
  }
  $http.get(existingCustomerUrlConstant, config).
  </code></pre>
  
  <p>In webapi, i have below code:</p>
  
  <pre><code> [HttpGet]
   // customerLogin object i want to receive here
   public CustomerLogin GetCustomer(CustomerLogin customerLogin)
   {
       GetCustomerDAL getCustomerDAL = new GetCustomerDAL(customerLogin);
       return customerLogin;
   }
  </code></pre>
  
  <p>customerLogin is null here.
  How can i receive object here from Angular service call?</p>