Use ngModel for form data
Save button constructs proper file contents