Angularjs Examples

AJS Examples

AngularJS Currency Filter

Sometimes you may need to display some number in the currency format. AngulerJS has different filters, currency filter one of them to format number in currency for you. Lets assume you have some number that says 123 and you requiement is to format in currency, simpley use {{ 123 | currency }}.


{{ someNumber | filter }}

AngularJS Currency Filter Example

<title>My first AngularJS Currency Filter code</title>
<Script SRC="">
<div ng-app="">
<h3> Expression: {{ 12500 | currency }} </h3>
See Live Example