Add Comma Separated Thousands to Number Inputs in Angular2
<p>In Angular 2 how would I add thousands separator for number input controls, so for example</p>

<p>Value in model 1000</p>

<p>When cursor not in input control display separator (e.g. 1,000)</p>

<p>When editing value (i.e. cursor inside control) in input control, it should remove commas to allow the value to be easily edited</p>

<p>Thanks</p>