JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 349
  • Score
    100M100P100Q93148F
  • License MIT

IBAN directive for AngularJS

Package Exports

  • ng-iban

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ng-iban) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build Status

ng-iban - validate input fields as IBAN

The goal is to provide an easy way to validate an input field as an IBAN number with https://angularjs.org/[AngularJS]. From version 0.4.0 the module uses https://github.com/arhs/iban.js[iban.js] for validation.

Installation

Bower

bower install ng-iban

NPM

npm install ng-iban

Other

Download file dist/ng-iban.min.js.

Usage

Add mm.iban as a dependency of your AngularJS module.

directive

<input type="text" ng-model="iban" ng-iban/>

To use this directive the ngModel directive must also be used because this directive depends on it.

filter

IBAN: {{ string | iban:separator }}

The filter converts a given IBAN to it's human-friendly representation. The separator defaults to a single space.