How can I use AngularJS Material on a Qlik Sense Mashup?
Hi, I am trying to create an AngularJS Mashup using the AngularJS Material, but I've run into some problems. I am using the dependencies (animate, aria and messages) in the same version of the Qlik Sense AngularJS (v 1.5.8) but no matter what it still doesn't work. I've found an old post where fka briefly talks about this issue but I could not find any example of a successful implementation.
Does anyone here know how to use AngularJS Material in a mashup? Is there any AngularJS example out there with this library?
I've tried importing those JS via HTML and inside the require, no luck so far:
var prefix =window.location.pathname.substr( 0, window.location.pathname.toLowerCase().lastIndexOf( "/extensions" ) +1);
I found a little workaround for this issue, I hope it will fulfill your requirements! I changed the app & object ids so you need to replace those before trying it out. The chart will be loaded after you click on "Button-A".
It works by creating two angular-modules, one for ngMaterial, the other one for Qlik Sense: