Dead Simple Angular/PHP Contact Form

I wanted to create the simplest implementation of a contact form that I could think of using AngularJS. Though I have implemented this using jQuery, it took a bit of figuring out how to get the form to submit properly using Angular. After reading a blogpost by Peter Bengtsson, I realized the issue was that jQuery sends data via AJAX as application/x-www-form-urlencoded. However, this needs to be specified directly in the Angular $http POST request.

Create a controller: