Creating Indian Currency Symbol Using AngularJS.
Code :
Html :
The following code contain the angular js "currency" filter.It display the Indian Currency Symbol.
<h3>Indian Currency Symbol Using AngularJS</h3>
<div ng-app="CurrencyApp" ng-controller="CurrencyController">
<input type="number" ng-model="amount">
<h3>
<--Indian Currency format "₹" -->
Indian Currency: {{amount | currency:"₹"}}
</h3>
</div>Angular Js :var myApp = angular.module('CurrencyApp', []);
myApp.controller('CurrencyController', function($scope) {
$scope.amount = 1000;
});