title: ng if with a modulus operator in Angular 6
body: <p>using ng-For and ng-If, I'm trying to display object of array to look like this <a href="https://i.stack.imgur.com/kyfSZ.png" rel="nofollow noreferrer">recovery code</a>, and this is what i do <a href="https://i.stack.imgur.com/693g6.png" rel="nofollow noreferrer">enter image description here</a>,
   this is what im trying so far,</p>
  
  <pre><code>&lt;div class="recovery-code" *ngFor="let x of recoveryCode?.recoveryCodes; let i = index;"&gt;
              &lt;b&gt;{{ x }}&lt;/b&gt;
              &lt;br *ngIf="i%5 === 0"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>i also had problem to do space between array, had try <code>array.join(", ");</code> but didnt work, need advise how do i solve my problem,</p>