title: Angular Flex-Layout Grid Line Break with fxLayoutWrap
body: <p>I used to be able to create a grid with line break in angular flex-layout using fxLayoutWrap.</p>
  
  <p>Seems that it doesn't work anymore. Whatever number I put in fxFlex, the div doesn't go to the next line. I saw the example <a href="https://stackoverflow.com/q/42212846">Angular flex-layout with ngFor</a>, but I can't make it work on my side.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div fxLayout="row" fxLayout.xs="column" fxLayoutWrap="wrap"&gt;
    &lt;div 
      fxFlex.gt-xs="50%" 
      [fxFlex.gt-md]="regularDistribution" 
      *ngFor="let country of countries"&gt;{{ country }}
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>