Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 976 Bytes

File metadata and controls

31 lines (24 loc) · 976 Bytes

angular-biginteger

Angular service for dealing with big integers

Disclaimer

This project is simply an angular wrapper for BigInteger.js library which is an arbitrary length integer library for Javascript. The person who owns and maintains this library, @peterolson, gave me permission to start this repo. Thanks to @peterolson and other contributors to the BigInteger.js library.

Usage

Install via Bower

bower install angular-biginteger --save

Reference in module

var app = angular.module('ngApp', [
  'angular-biginteger'
]);

Inject the 'bigInt' service into a controller

angular.module('ngApp').controller('MyCtrl', function(bigInt) {
  .
  .
  .
});

Continue using bigInt as described in the BigInteger.js library