title: separators of thousands in angular 2
body: <p>i have tried this one in my proyect:</p>
  
  <pre><code>&lt;div padding *ngIf="TotalAPagar"&gt;
      $ {{TotalAPagar | number }}  
  &lt;/div&gt;
  </code></pre>
  
  <p>my variable is called <code>TotalAPagar</code>, and I'm using number pipe, but it shows the value like this <strong>1,000,500</strong>.</p>
  
  <p>I need that to change the numbering convention to <code>dots</code>. Eg. <strong>1.000.000</strong></p>
  
  <p>I have been reading about in the docs in angular but doesn't have any example.</p>