saymedia / angularjs-humanize

AngularJS filters wrapping the 'humanize' library
MIT License
10 stars 6 forks source link

feat: support optional filesize arguments #2

Closed rolandboon closed 9 years ago

rolandboon commented 9 years ago

This adds support for passing optional humanize.filesize() arguments with the humanizeFilesize filter. e.g. {{picture.bytes | humanizeFilesize : 1000 : 1 : ','}}

See: https://github.com/taijinlee/humanize#humanizefilesizefilesize--kilo--1024-decimals--2-decpoint---thousandssep--