Boilerplate for Angular JS form Submissions