Hi I have a form which does update on button click.
$scope.action = \"Update\"; var id = $routeParams.editId; scope.item = updateRecord.get({ id: id })
I dont get the question, but maybe, you can clean the form in the Html component:
function: ngSubmit(), send the data. taskName is the name of the field, also taskBody.