persist model properties from angular form