title: How to select a checkbox in a table cell in Angular 4?
body: <p>In my data, I have a boolean value to be shown in a table. I represent it as a check box. How can this check box be made to show the value (checked/unchecked)?</p>
  
  <p>Here is the code snippet that is not working:</p>
  
  <pre><code>&lt;tr *ngFor="let item of mf.data"&gt;
                          &lt;td&gt;{{item?.name}}&lt;br&gt;&lt;a href="#" class="text-success"&gt;{{item?.email}}&lt;/a&gt;&lt;/td&gt;
                          &lt;td class="text-center"&gt;
                              &lt;input type="checkbox" [(ngModel)]='item.isManager'&gt;
                          &lt;/td&gt;
                          &lt;td&gt; {{item?.groupsAccess}}&lt;/td&gt;
                          &lt;td&gt; {{item?.featuresAccess}}&lt;/td&gt;
                          &lt;td&gt;{{item?.lastactive}}&lt;/td&gt;
                          &lt;td&gt;{{item?.status}}&lt;/td&gt;
                          &lt;td&gt;
                              &lt;a href="javascript:;" &gt;&lt;i class="fa fa-cog" aria-hidden="true"&gt;&lt;/i&gt; &lt;/a&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
  </code></pre>
  
  <p>And here is the JSON:</p>
  
  <pre><code>{
      "id": 0,
      "name": "Demo Mgr",
      "isAdmin":true,
      "email": "demomgr@xyz.com",
      "groupsAccess": "All Drivers &amp; Vehicles",
      "featuresAccess": "All Features",
      "lastactive" : "Jul 30 11:59 pm",
      "status": "Active"
  }
  </code></pre>
  
  <p>How do I make this check box selected when the data is shown?</p>