Changed server side to read header type as application/json. AngularJS also post as application/jsongit add -Agit add -A