/local-number-angularjs

comma system for hindu arabic number system for (filter) angularjs 1

Primary LanguageJavaScript

Local number system

Angularjs filter for Local (Hindu Arabic) Number system

Demo

Installation

Install using bower: bower install mjt-local-number

Alternatively download the code and include the mjt-local-number.js file in your page.

Add the 'mjtLocalNum' filter as a dependency of your AngularJS application:

angular.module('myApp', ['mjtLocalNum']);

Usage

HTML

{{ 1005897987 | localnum }}
{{num | localnum}}