Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/the-darc/angular-br-filters

An Angular library of masks applicable to several Brazilian data like I.E., CNPJ, CPF and others
https://github.com/the-darc/angular-br-filters

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

angular-br-filters
==================
[![npm version](https://img.shields.io/npm/v/angular-br-filters.svg)](https://www.npmjs.com/package/angular-br-filters)
[![Bower version](https://img.shields.io/bower/v/angular-br-filters.svg)](https://bower.io/search/?q=angular-br-filters)
[![Build Status](https://travis-ci.org/the-darc/angular-br-filters.svg)](https://travis-ci.org/the-darc/angular-br-filters)
[![Coverage Status](https://coveralls.io/repos/the-darc/angular-br-filters/badge.svg)](https://coveralls.io/r/the-darc/angular-br-filters)

[![NPM](https://nodei.co/npm/angular-br-filters.png?downloads=true&stars=true)](https://nodei.co/npm/angular-br-filters/)

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:

```html
Percentage: {{'0.1' | percentage}}
```

Demo Page
---------

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