title: angular ng-repeat checkbox from resource and set checked
body: <p>i have resource in my controller and populate checkboxes with ng-repeat
  next thing i know in controller which are to be checked</p>
  
  <p>code will looks like..</p>
  
  <pre><code>$scope.data = resource.query();
  
  var arr_to_be_checked = [1,3,5];
  </code></pre>
  
  <p>in other controller i use this..</p>
  
  <pre><code>$scope.data = [ { Type: 1, checked: true, Title: 'Item A'},
                  { Type: 2, checked: false, Title: 'Item B'}];
  </code></pre>
  
  <p>and its working fine but i need apply this on resource and ng-repeat because i need more flexible</p>
  
  <p>i find any soulution but without point. Pls can you help me anyone?</p>
  
  <p><strong>My question is: How i can "override" objects in resource with 'checked:true' or set any checkbox as checked.</strong></p>
  
  <p>Thank you so much for help or any idea<br>
  Have a nice day<br><br><br></p>