Ionic cordova - QRcode generate example

I'm building a cordova application using ionic framework. This application need the ability to generate a QRcode based on the given text. I found http://davidshimjs.github.io/qrcodejs/ as a solution. But I could not implement this in my ionic application. I need some example for this task, implemented by qrcodejs, or any other libraries.Thanks!

So what you need is a angular module, most the time you would have to create your own directive, module, or angular code to integrate a JavaScript plug-in. But someone has already done that, I would take a look at http://ngmodules.org/modules/angular-qr should be what you are looking for. See the demo: http://janantala.github.io/angular-qr/demo/