title: how to achieve currency type Input in angular 5?
body: <p>I want following thing to happen in my <strong>angular 5</strong> application. </p>
  
  <p>I am having <strong>text box</strong> where i am inputting <strong>numeric values</strong>, as soon as focus of that text box is lost, Numeric values i entered should be formatted to <strong><em>currency</em></strong> with '$' and ',','.' symbols. how to achieve this?</p>
  
  <p>I want to show my input numeric values as in below picture.</p>
  
  <p><a href="https://i.stack.imgur.com/oopru.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/oopru.jpg" alt="enter image description here"></a></p>