title: Condition on checked property of checkbox in html
body: <p>How can I put condition on checked property of checkbox?</p>
  
  <p>I have checkboxes for each row in my application. In my database, I have a column 'IsSaved' whose value is either 0 or 1. If IsSaved for a row is 1 then checkbox should automatically be shown as selected.</p>
  
  <p>Here's my code snippet:</p>
  
  <pre><code>&lt;td style="text-align:center;"&gt;
      &lt;input type="checkbox" name="select" value="${ID}" ng-checked="${IsSaved} ? true : false" /&gt;              
  &lt;/td&gt;
  </code></pre>
  
  <p>How can I achieve this?</p>