title: angular 4 how to access ViewChildren _results
body: <p>i have a list of checkboxes inside an ngFor:</p>
  
  <pre><code>    &lt;md-checkbox
        #hangcheck
        [id]="hangout?.$key"
        class="mychecks"
        &gt;
      I'm Interested
    &lt;/md-checkbox&gt; 
  </code></pre>
  
  <p>i refrence them in the component like so:</p>
  
  <pre><code>@ViewChildren("hangcheck") hangchecks: QueryList&lt;any&gt;;
  </code></pre>
  
  <p>then in ngAfterViewInit i need to loop them:</p>
  
  <pre><code>  ngAfterViewInit(){
  console.log('the array: ',this.hangchecks)
  this.hangchecks._results.forEach((item) =&gt; {
    console.log('the item: ',item)
  });
   }
  </code></pre>
  
  <p>but i get:
  Property '_results' is private and only accessible within class 'QueryList'
   in the console i see this:
  <a href="https://i.stack.imgur.com/V9NBe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/V9NBe.png" alt="enter image description here"></a>
  so as you can see there is the array in the _results. but how can i access it and loop it?</p>