title: How to implement cancel button in angular?
body: <p>Let's say if the man had some information in the input</p>
  
  <pre><code>&lt;input type="text" name="text" [(ngModel)]='project.text'&gt;
  </code></pre>
  
  <p>And if a person needs to erase or change data. </p>
  
  <p>How can you implement a button that allows you to cancel all the changed operations on the field if the information was not saved. </p>