added back Solution to make server side code accept data submitted with angularjs via POST