On our page we use both angular and require.js. This package depends on qrcode.js setting its main function in global, but in presence of define, qrcode.js exports itself as a module. Alas angular-qr tries to call undefined, which tends not to work.
Or I'm doing something wrong, which is always an option.