title: Model Binding Issue with ASP.NET5 MVC6
body: <p>Im trying to post some JSON data on an angular form to my ASP.NET5 MVC6 Controller action. The model binder does not seem to be working. Not sure what I'm missing here.</p>
  
  <p>My ASP Controller:</p>
  
  <pre><code>public class DefaultController : Controller
  {
      public IActionResult Index()
      {
          return View();
      }
  
      [HttpPost]
      public IActionResult SubmitTest(QTestViewModel model)
      {
          return Json("true");
      }
  }
  </code></pre>
  
  <p>My Angular Controller:</p>
  
  <pre><code>angular.module("testActiveMq", [])
  .controller("MqTestController", ["$scope", "$http", function ($scope, $http) {
      // Submit Form
      $scope.submitForm = function () {
          debugger;
          var formData = (this.data) ? angular.toJson(this.data) : null;
          if (formData &amp;&amp; this.qForm &amp;&amp; this.qForm.$valid) {
              $http({
                  url: "/Default/SubmitTest",
                  data: formData,
                  method: "POST",
                  dataType: "json",
                  contentType: "application/json; charset=utf-8"
              })
              .then(function successCallback(response) {
                  debugger;
                  // this callback will be called asynchronously
                  // when the response is available
              }, function errorCallback(response) {
                  debugger;
                  // called asynchronously if an error occurs
                  // or server returns response with an error status.
              });
          }
      };
  }])
  </code></pre>
  
  <p>My View Model:</p>
  
  <pre><code>public class QTestViewModel
  {
      public string MqBrokerUri { get; set; }
  
      public string ClientId { get; set; }
  
      public string UserName { get; set; }
  
      public string Password { get; set; }
  
      public int TotalRequests { get; set; }
  
      public int MaxConcurrentRequests { get; set; }
  
      public int DelayBetweenThreads { get; set; }
  }
  </code></pre>
  
  <p>When I make a request, the HTTP Headers are ..</p>
  
  <pre><code>POST /Default/SubmitTest HTTP/1.1
  Host: localhost:50877
  Connection: keep-alive
  Content-Length: 225
  Accept: application/json, text/plain, */*
  Origin: http://localhost:50877
  User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
  Content-Type: application/json;charset=UTF-8
  Referer: http://localhost:50877/
  Accept-Encoding: gzip, deflate
  Accept-Language: en-US,en;q=0.8
  </code></pre>
  
  <p>My form data looks like so ..</p>
  
  <pre><code>{"MqBrokerUri":"ssl://broker-uri:1616?transport.acceptInvalidBrokerCert=true","ClientId":"MqLoadTest","UserName":"myunm","Password":"mypwd","TotalRequests":100,"MaxConcurrentRequests":10,"DelayBetweenThreads":1}
  </code></pre>
  
  <p>I feel like I'm missing something super obvious. Why is my JSON data not binding to my model? Surely I dont need a custom model binder for something so simple?</p>