Made the contact form work with AngularJS.