Using Spring MVC and Angular? You might need this.

If you are using Spring MVC & @ModelAttributes for the back end of your application along with AngularJS, then you will need the following service to encode your HTTP requests properly. First, check out this post to make sure your request's content type is properly defined: http://www.josebalius.com/…