title: ngFor in custom component
body: <p>I work on a custom component in Ionic v3, and I'm trying to use a ngFor.</p>
  
  <p>In my .ts file I've this in my <code>ngOnInit</code>: </p>
  
  <pre><code>this.nb_stars = [];
  
  for(let i=1; i&lt;=4; i++) {
     this.nb_stars.push(i);
  }
  </code></pre>
  
  <p>And in my .html I've this:</p>
  
  <pre><code>&lt;div *ngFor="let star in nb_stars"&gt;
      test
  &lt;/div&gt;
  </code></pre>
  
  <p>But I've this error:</p>
  
  <blockquote>
    <p>Uncaught Error: Template parse errors: Can't bind to 'ngForIn' since
    it isn't a known property of 'div'. ("
          --> ]*ngFor="let test in nb_stars"></p>
    
    <p> "): ng:///ComponentsModule/CompStarsComponent.html@3:5 Property
    binding ngForIn not used by any directive on an embedded template.</p>
    
    <p>Make sure that the property name is spelled correctly and all
    directives are listed in the "@NgModule.declarations". ("
          --> [ERROR ->]</p>
  </blockquote>
  
  <p>If anyone can help me. </p>