A sample AngularJS app to explain how we can change the Content-Type header to send JSON data instead of form urlencoded