adding angular form stuff. correcting validation. making the submit button inaccessible when invalid