title: Set ons-switch with predifined values from Angular controller
body: <p>I cannot seem to get the correct way to set the 'checked' attribute in ons-switch. This is so that I can setup user configurations page with pre-checked select boxes. </p>
  
  <p>The Docs:
  This is a checked switch but how do I set this using a variable in an angular controller?</p>
  
  <p>For example, if ons-switch has a syntax like 
   
  I could have done:
  </p>
  
  <p>I cannot seem to set attribute "checked" with no value in angular, as needed in the docs. I'm also unable to access the variable since it is part of an array of configurations. </p>
  
  <p>Code Example:</p>
  
  <p>controller:</p>
  
  <pre><code>var categInfo = [{Interest:'Classic', isChecked:true}, {Interest:'New', isChecked:false}];
  </code></pre>
  
  <p>html:</p>
  
  <pre><code>&lt;ons-list-item ng-repeat="interest in categInfo" &gt;
      &lt;span style="color: #666"&gt;{{interest.Interest}}&lt;/span&gt;
      &lt;ons-switch modifier="list-item" var="{{interest.Interest}}" checked="{{interest.isChecked}}"&gt;&lt;/ons-switch&gt;
  &lt;/ons-list-item&gt;
  </code></pre>
  
  <p>So what I want is that the html should show buttons that are checked/unchecked depending on interest.isChecked is true or false.</p>