title: Set Form to Pristine without clearing data
body: <p>I have a form that displays a list of <code>&lt;input type="text"&gt;</code> elements. They all share a common save button which is disabled until the form becomes dirty. Then, once the user clicks the save button, the data will be submitted to the server. If the server successfully saved the data, I want to reset the form to a pristine state, but I want to keep all of the data in the form so the user can edit the data further if they so choose.</p>
  
  <p>After searching, I have found the <code>NgForm.reset()</code> method. While this does set the form to pristine, it unfortunately also clears out the form. The reset method does seem to have a value parameter, but I can't seem to find out what it does. Nevertheless, I don't want the data cleared out.</p>
  
  <p>I have also tried <code>myForm.pristine = true</code> as well, but this causes a reload of the page for some reason.</p>
  
  <p><a href="https://plnkr.co/edit/wf9Ggiue5Xc8vNRXmZ6O?p=preview" rel="noreferrer">Here is a plunkr demonstrating the problem</a>.</p>