title: How to set collection of *ngFor from protractor in Angular 4.0?
body: <p>app.component.html</p>
  
  <pre><code>&lt;div class="student-list" *ngFor="let student of students"&gt;
      &lt;p&gt;{{student.name}}&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to test whether all students have name. But <code>students</code> is a list which is getting set in app.component.ts.</p>
  
  <p>Now how should I set the <code>students</code> from protractor?</p>
  
  <p>I have done following </p>
  
  <pre><code>element(by.binding('students')).sendKeys(['abc', 'xyz']);
  </code></pre>
  
  <p>But this is not working, it throws <code>Failed: unknown error: angular is not defined</code>. 
  What is the correct way?</p>