Skip to content
This repository was archived by the owner on Jul 24, 2018. It is now read-only.
/ angular-real Public archive

Um projeto, extremamente simples, para formatação de moeda brasileira, utilizando o filter do angularjs.

Notifications You must be signed in to change notification settings

perseutech/angular-real

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Real

Um projeto, extremamente simples para formatação de moeda brasileira

Instalação

Bower

$ bower install angular-real

NPM

$ npm install angular-real

Uso

Em seu html principal, adicione o seguinte código:

Bower: <script src="bower_components/angular-real/dist/angular-real.js"></script>

NPM: <script src="node_modules/angular-real/dist/angular-real.js"></script>

Adicione o módulo AngularReal como dependencia do seu projeto.

angular.module('MeuApp',['AngularReal'])

Para usar o filter, faça o seguinte:

{{ meuTexto | real }}

About

Um projeto, extremamente simples, para formatação de moeda brasileira, utilizando o filter do angularjs.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages