Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aguirrel committed Jun 12, 2017
2 parents b39b660 + 83f85c2 commit 52f49ad
Show file tree
Hide file tree
Showing 12 changed files with 5,939 additions and 38 deletions.
2 changes: 1 addition & 1 deletion dist/ng-currency.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ng-currency.js.map

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">

<title>NG-CURRENCY</title>
</head>
<body ng-app="app" ng-controller="AppController as $ctrl">
<h3>ng-currency basic</h3>
<input type="text" ng-model="$ctrl.value" ng-currency>
<p>model value: {{$ctrl.value}}</p>

<h3>Cents To Dollars</h3>
<input type="text" ng-model="$ctrl.value" ng-currency cents-to-dollars>
<p>model value: {{$ctrl.value}}</p>

<script src="ng-currency.js"></script>
<script src="main.js"></script>
</body>
</html>
15 changes: 15 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import angular from 'angular';
import centsToDollars from './test/ng-currency/directives/cents-to-dollars.module.js';

const module = angular.module('app', [
'ng-currency',
centsToDollars
]);

class AppController {
constructor() {
this.value = 123456.78;
}
}

module.controller('AppController', AppController);
Loading

0 comments on commit 52f49ad

Please sign in to comment.