Dynamic QR code generator for AngularJS