title: How can you flag which OBJECTS in an ngFor loop are 'dirty'?
body: <p>I have the following code to put a list of objects onto the page:</p>
  
  <pre><code>    &lt;tr *ngFor="let setting of settings; let i = index;"&gt;
              &lt;td&gt;{{setting.section}}&lt;/td&gt;
              &lt;td&gt;{{getTenantName(setting.tenant)}}&lt;/td&gt;
              &lt;td&gt;{{setting.name}}&lt;/td&gt;
              &lt;td *ngIf="!setting.restWritable"&gt;
                &lt;span&gt;{{setting.value}}&lt;/span&gt;
              &lt;/td&gt;
          &lt;td *ngIf="setting.restWritable &amp;&amp; !setting.secret"&gt;
            &lt;input class="form-control" [name]="'Value' + i" [(ngModel)]="setting.value" /&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
  </code></pre>
  
  <p>And I have a requirement that only the DIRTY / edited / changed objects are sent back to the server..  (aka the input has been changed by the user)</p>
  
  <p>I also understand that I can use the forms to find out if a single input is dirty, but I was hoping there was a way to do this at the OBJECT level.
  so in other words, if any of the fields in that object are dirty the entire object is dirty and should be returned to the server.</p>