title: Displaying a number in Indian format using angular 2
body: <p>I want to print numbers with commas as <code>thousands</code>, <code>lacs</code>, <code>crores</code> separators. for e.g:</p>
  
  <pre><code>     10,000 - ten thousand
     1,00,000 - 1 lakh
    10,00,000 - 10 lakh
  1,00,00,000 - 1 crore
  </code></pre>
  
  <p>I have used angular's number pipe to implement comma separated values but not getting proper output it displays like this <code>1,000,000 - 10 lakh</code>. </p>
  
  <p>How can i implement above functionality using angular/javascript or is there any pipe for this in angular?</p>