title: Currency masking in ionic
body: <p>I am trying to format the entry in currency format like 10,000.00 in a ion-input field with the below line of code but while entering the text it shows the output as 10,000.0010000. I have tried almost all of the alternate solutions in online and none of them helped me to overcome this situation. tried ng2-currency-mask and its not working</p>
  
  <pre><code>              &lt;ion-item&gt;
                  &lt;ion-input type="number" [(ngModel)]= Basic pattern="\d*" name="Basic"
                    #Basic="ngModel" clearInput placeholder="0.00"&gt;
                    &lt;div&gt;{{selectedCtcBasic | currency: '₹ '}}&lt;/div&gt;
                  &lt;/ion-input&gt;
                  &lt;div class="error-form" *ngIf="Basic.invalid"&gt;
                    &lt;div *ngIf="Basic.errors.pattern"&gt;* Text/symbols not allowed&lt;/div&gt;
                  &lt;/div&gt;
                &lt;/ion-item&gt;              
  </code></pre>