Added partial AngularJS for submitting