Send simple type from Angular to Web API in body of PUT request.

22/10/2015
When using Angular to send a simple type in the body of a PUT request to an action method on a Web API controller, the action method parameter needs to be decorated with the [FromBody] attribute.