Currency Filter In Angular Js

AngularJs : AngularJS is a JavaScript framework. It was originally developed by Hevery and Adam Abrons. Now it’s maintained by Google. Angular Js is light weight and easy to learn. It is perfect in Single Page Application projects. Angular Js is open source, free of cost and easy to handle.

Currency Filter

One of the filter in Angular Js is Currency Filter.This “currency” filter include “$” Dollar Symbol as default.So we can use the following code as the html template format of Currency Filter.

{{ currency_expression | currency : symbol : fractionSize}}

Code

Html :

The following html code contain the root directory “ng-app” & Controller “ng-controller”.So you can create any name for it.The angular js currency filter contain “$” Dollar symbol as default.