title: How to iterate over single character in a string
body: <p>How can I iterate a string using the <code>*ngFor</code>?
  I have a string with binary code (e.g. 0010) and dependendig on a single bit I have to show a different icon.</p>
  
  <pre><code> &lt;div class="row" *ngFor="let item of subscribedCommandBus2Easy; let i = index"&gt;
     &lt;span class="numberCircleBus2Easy col-md-2"&gt;
         {{item}}
     &lt;/span&gt;
    &lt;i *ngFor="let num of commandsDecimal"&gt;
      &lt;i ng-repeat="let el in num"&gt;
       &lt;span [ngClass]="el =='0' ? 'off-icon' : 'on-icon'"&gt;
          //is this the way I access the single character?
       &lt;/span&gt; 
      &lt;/i&gt;
    &lt;/i&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I tried this code but it does not work.</p>
  
  <p><strong>commandsDecimal</strong> is my array of binary string. I want to loop <strong>commandsDecimal</strong> at index i (suppose the element is 1010) and if the character at position y is 0 I have to show an icon otherwise the other icon and so on...</p>
  
  <p>Any suggestion?</p>