/angular-br-filters

An Angular library of masks applicable to several Brazilian data like I.E., CNPJ, CPF and others

Primary LanguageJavaScriptMIT LicenseMIT

angular-br-filters

npm version Bower version Build Status Coverage Status

NPM

An Angular library of masks applicable to several Brazilian data like I.E., CNPJ, CPF and others

Installation

With Bower:

bower install --save angular-br-filters

With NPM:

npm install --save angular-br-filters

How to use

  1. Import the angular-br-filters.min.js script in your page.

  2. Include the module idf.br-filters in your angular app.

  3. Use it as an angular filter:

<strong>Percentage: </strong>{{'0.1' | percentage}}

Demo Page

More exaples in http://the-darc.github.io/angular-br-filters/