Question: I need to show currency format like these, how can we show.

```
₹1
₹10
₹100
₹1,000
₹10,000
₹1,00,000
......

```

Answer: 
Indian rupee follows different format compare to US currency; So, don't use default angular currency filter to format Indian Rupees

**Custom INR Currency Filter**

```js
var app = angular.module('app', []);

app.controller('indexCtrl', function ($scope) {
    $scope.amount = 10000000.33;
});

app.filter('INR', function () {        
    return function (input) {
        if (! isNaN(input)) {
            var currencySymbol = '₹';
            //var output = Number(input).toLocaleString('en-IN');   <-- This method is not working fine in all browsers!           
            var result = input.toString().split('.');

            var lastThree = result[0].substring(result[0].length - 3);
            var otherNumbers = result[0].substring(0, result[0].length - 3);
            if (otherNumbers != '')
                lastThree = ',' + lastThree;
            var output = otherNumbers.replace(/\B(?=(\d{2})+(?!\d))/g, ",") + lastThree;

            if (result.length > 1) {
                output += "." + result[1];
            }            

            return currencySymbol + output;
        }
    }
});
```

```html
<!DOCTYPE html>
<html ng-app="app">
<head>    
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
</head>
<body ng-controller="indexCtrl">
    Input: <input type="text" ng-model="amount">
    <h3>{{amount | INR}}</h3>
</body>
</html>
```
I believe the `currency pipe` will solve this problem

Note: **Syntax** for digit param in the symbol is -> `"numberOfInteger:minimumFractions-maxFractions"`

> 
> **Input:** 
>  {{1499 | currency:'INR':'symbol':'1.0'}}
> 
> 
> **Output:** 
>  ₹1,499
> 
> 
> 

**Explanation** -> `'1.0'` means currency pipe will display at least 1 digits and no decimal.

Let me provide you with another example:

> 
> **Input:** 
>  {{99 | currency:'INR':'symbol':'3.2-2'}}
> 
> 
> **Output:** 
>  ₹099.00
> 
> 
> 

**Explanation** -> `'3.2-2'` means currency pipe will display at least 3 digits and the decimal point minimum 2 fractions & maximum 2 fractions are displayed.