title: Model Binding with optional parameter in angular and web api 2
body: <p>i have a Model in web api </p>
  
  <pre><code>  public class myModel{
  public string FirstName{get;set;}
  public string LastName{get;set;}
  public int Age {get;set;}
  }
  </code></pre>
  
  <p>Web api Controller</p>
  
  <pre><code>public string saveRecord(myModel data){
  
  return data;
  }
  </code></pre>
  
  <p>angular post ....</p>
  
  <pre><code>  function(){
      var obj={
      FirstName:'Robin',
      Age:24
      }
  
  $http.post(myurl,{ obj}).then(function(rp){
  alert(rp.data);
  }
  
  
  }
  </code></pre>
  
  <p>i have passed only two parameter in post.<br>
  now i am getting all values is null in response</p>