Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CsCurrencyInput - (Tutorial)

Angular module with currency input directive (add commas as you type

##Usage

Check out a working example on Codepen the Gist

<input type="text" cs-currency-input ng-model="MainCtrl.amount" allow-negatives="true" class="input-s form-control money" placeholder="$"/>

The directive's name is cs-currency-input, pass in the optional allow-negatives="true" to allow negative currencies. Change the placeholder to by passing in cs-placeholder="*", or remove it with no-placeholder="true".

To see a step-by-step tutorial of the creation of this directive check out my blog

About

Angular module with currency input directive (add commas as you type)

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages