angular-qr

QR code generator for AngularJS.

Fork me on GitHub

bower install angular-qr

Load dependecies:

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.13/angular.min.js"></script>

<script src="bower_components/qrcode/lib/qrcode.min.js"></script>

<script src="bower_components/angular-qr/angular-qr.min.js"></script>

Usage:

<qr text="qrcodeString"></qr>

Optional attributes:

<qr text="qrcodeString" type-number="typeNumber" correction-level="correctionLevel" size="SIZE" input-mode="inputMode" image="image"></qr>

{{typeNumber}} (use 0 as minimal possible)

{{correctionLevel}}

Auto (M) L (Low) M (Medium) Q (Quartile) H (High)

{{size}}

{{inputMode}}

Auto NUMBER ALPHA_NUM 8bit

{{image}}

Yes No