<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I use AngularJS Material on a Qlik Sense Mashup? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-I-use-AngularJS-Material-on-a-Qlik-Sense-Mashup/m-p/81049#M1153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to create an AngularJS Mashup using the &lt;A href="https://material.angularjs.org/latest/"&gt;AngularJS Material&lt;/A&gt;‌, 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 &lt;A _jive_internal="true" href="https://community.qlik.com/message/1211592#1211592"&gt;old post&lt;/A&gt; where &lt;A href="https://community.qlik.com/qlik-users/196306"&gt;fka&lt;/A&gt;‌ briefly talks about this issue but I could not find any example of a successful implementation.&lt;/P&gt;&lt;P&gt;Does anyone here know how to use AngularJS Material in a mashup? Is there any AngularJS example out there with this library?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried importing those JS via HTML and inside the require, no luck so far:&lt;/P&gt;&lt;P&gt;---JS---&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #56b6c2;"&gt;var&lt;/SPAN&gt; prefix &lt;SPAN style="color: #e06c75;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;pathname&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;substr&lt;/SPAN&gt;( &lt;SPAN style="color: #c678dd;"&gt;0&lt;/SPAN&gt;, &lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;pathname&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;toLowerCase&lt;/SPAN&gt;().&lt;SPAN style="color: #98c379;"&gt;lastIndexOf&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;"/extensions"&lt;/SPAN&gt; ) &lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;1&lt;/SPAN&gt;);&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #56b6c2;"&gt;var&lt;/SPAN&gt; config &lt;SPAN style="color: #e06c75;"&gt;=&lt;/SPAN&gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; host: &lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;hostname&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prefix: prefix,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port: &lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;port&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isSecure: &lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;protocol&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;===&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;"https:"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;require&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;config&lt;/SPAN&gt;( {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; baseUrl: ( &lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #abb2bf;"&gt;isSecure&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; ) &lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;host&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt; (&lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;port&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;":"&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;port&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;""&lt;/SPAN&gt;) &lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;prefix&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;"resources"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,paths: {&lt;/P&gt;&lt;P&gt;&amp;nbsp; ngAnimate: &lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ngAria: &lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ngMessages: &lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ngMaterial: &lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;// require(['js/qlik', 'ngAnimate', 'ngAria', 'ngMessages', 'ngMaterial'], function (qlik, ngAnimate, ngAria, ngMessages, ngMaterial) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;require&lt;/SPAN&gt;([&lt;SPAN style="color: #e5c07b;"&gt;'js/qlik'&lt;/SPAN&gt;], &lt;SPAN style="color: #56b6c2;"&gt;function&lt;/SPAN&gt; (&lt;SPAN style="color: #d19a66; font-style: italic;"&gt;qlik&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;qlik&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;setOnError&lt;/SPAN&gt;( &lt;SPAN style="color: #56b6c2;"&gt;function&lt;/SPAN&gt; ( &lt;SPAN style="color: #d19a66; font-style: italic;"&gt;error&lt;/SPAN&gt; ) {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;$&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;'#popupText'&lt;/SPAN&gt; ).&lt;SPAN style="color: #98c379;"&gt;append&lt;/SPAN&gt;( &lt;SPAN style="color: #61afef;"&gt;error&lt;/SPAN&gt;.&lt;SPAN style="color: #abb2bf;"&gt;message&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;"&amp;lt;br&amp;gt;"&lt;/SPAN&gt; );&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;$&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;'#popup'&lt;/SPAN&gt; ).&lt;SPAN style="color: #98c379;"&gt;fadeIn&lt;/SPAN&gt;( &lt;SPAN style="color: #c678dd;"&gt;1000&lt;/SPAN&gt; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } );&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;$&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;"#closePopup"&lt;/SPAN&gt; ).&lt;SPAN style="color: #98c379;"&gt;click&lt;/SPAN&gt;( &lt;SPAN style="color: #56b6c2;"&gt;function&lt;/SPAN&gt; () {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;$&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;'#popup'&lt;/SPAN&gt; ).&lt;SPAN style="color: #98c379;"&gt;hide&lt;/SPAN&gt;();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;//callbacks -- inserted here --&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;//open apps -- inserted here --&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #56b6c2;"&gt;var&lt;/SPAN&gt; app &lt;SPAN style="color: #e06c75;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;qlik&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;openApp&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;'Helpdesk Management.qvf'&lt;/SPAN&gt;, config);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;//get objects -- inserted here --&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;getObject&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;'QV02'&lt;/SPAN&gt;,&lt;SPAN style="color: #e5c07b;"&gt;'hRZaKk'&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;getObject&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;'QV01'&lt;/SPAN&gt;,&lt;SPAN style="color: #e5c07b;"&gt;'a5e0f12c-38f5-4da9-8f3f-0e4566b28398'&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;//create cubes and lists -- inserted here --&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;} );&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;---JS---&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;---HTML---&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;SPAN style="color: #e06c75;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;qva-bootstrap&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"false"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;&lt;SPAN style="color: #e06c75;"&gt;head&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;meta&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;charset&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"UTF-8"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;meta&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;name&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"viewport"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;content&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"width=device-width, initial-scale=1.0"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;meta&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;http-equiv&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"X-UA-Compatible"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;content&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"ie=edge"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;&amp;lt;!-- ////////////////////////////////////////////////////////// --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;rel&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"stylesheet"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;href&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"../../resources/autogenerated/qlik-styles.css"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"../../resources/assets/external/requirejs/require.js"&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;&amp;lt;!-- ////////////////////////////////////////////////////////// --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;rel&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"stylesheet"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;href&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.css" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.css&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;rel&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"stylesheet"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;href&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"iron.css"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;title&lt;/SPAN&gt;&amp;gt;Document&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;title&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;head&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;&lt;SPAN style="color: #e06c75;"&gt;body&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;ng-app&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"MyApp"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;layout&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"column"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Button-A&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Button-B&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Button-C&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;id&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"QV02"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;class&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"qvobject"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;style&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"width:100%;height:200px;"&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;div&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;&amp;lt;!--Error Popup--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;id&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"popup"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;button&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;type&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"button"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;class&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"close"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;data-dismiss&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"modal"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;aria-label&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"Close"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;id&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"closePopup"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;span&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;aria-hidden&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"true"&lt;/SPAN&gt;&amp;gt;×&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;span&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;id&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"popupText"&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;p&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;div&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;&lt;SPAN&gt;&amp;lt;!-- &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt; --&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"iron.js"&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;angular&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;module&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;'MyApp'&lt;/SPAN&gt;, [&lt;SPAN style="color: #e5c07b;"&gt;'ngMaterial'&lt;/SPAN&gt;])&lt;/P&gt;&lt;P&gt;&amp;nbsp; .&lt;SPAN style="color: #98c379;"&gt;run&lt;/SPAN&gt;(&lt;SPAN style="color: #56b6c2;"&gt;function&lt;/SPAN&gt; () {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;console&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;"Starting the 'starter-app' module"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;body&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;html&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;---HTML---&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2018 20:35:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-09T20:35:58Z</dc:date>
    <item>
      <title>How can I use AngularJS Material on a Qlik Sense Mashup?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-I-use-AngularJS-Material-on-a-Qlik-Sense-Mashup/m-p/81049#M1153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to create an AngularJS Mashup using the &lt;A href="https://material.angularjs.org/latest/"&gt;AngularJS Material&lt;/A&gt;‌, 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 &lt;A _jive_internal="true" href="https://community.qlik.com/message/1211592#1211592"&gt;old post&lt;/A&gt; where &lt;A href="https://community.qlik.com/qlik-users/196306"&gt;fka&lt;/A&gt;‌ briefly talks about this issue but I could not find any example of a successful implementation.&lt;/P&gt;&lt;P&gt;Does anyone here know how to use AngularJS Material in a mashup? Is there any AngularJS example out there with this library?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried importing those JS via HTML and inside the require, no luck so far:&lt;/P&gt;&lt;P&gt;---JS---&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #56b6c2;"&gt;var&lt;/SPAN&gt; prefix &lt;SPAN style="color: #e06c75;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;pathname&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;substr&lt;/SPAN&gt;( &lt;SPAN style="color: #c678dd;"&gt;0&lt;/SPAN&gt;, &lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;pathname&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;toLowerCase&lt;/SPAN&gt;().&lt;SPAN style="color: #98c379;"&gt;lastIndexOf&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;"/extensions"&lt;/SPAN&gt; ) &lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #c678dd;"&gt;1&lt;/SPAN&gt;);&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #56b6c2;"&gt;var&lt;/SPAN&gt; config &lt;SPAN style="color: #e06c75;"&gt;=&lt;/SPAN&gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; host: &lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;hostname&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prefix: prefix,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port: &lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;port&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isSecure: &lt;SPAN style="color: #56b6c2;"&gt;window&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;location&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;protocol&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;===&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;"https:"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;require&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;config&lt;/SPAN&gt;( {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; baseUrl: ( &lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #abb2bf;"&gt;isSecure&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; ) &lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;host&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt; (&lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;port&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;":"&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;port&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;""&lt;/SPAN&gt;) &lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;config&lt;/SPAN&gt;.&lt;SPAN style="color: #56b6c2;"&gt;prefix&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;"resources"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,paths: {&lt;/P&gt;&lt;P&gt;&amp;nbsp; ngAnimate: &lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ngAria: &lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ngMessages: &lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ngMaterial: &lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;// require(['js/qlik', 'ngAnimate', 'ngAria', 'ngMessages', 'ngMaterial'], function (qlik, ngAnimate, ngAria, ngMessages, ngMaterial) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;require&lt;/SPAN&gt;([&lt;SPAN style="color: #e5c07b;"&gt;'js/qlik'&lt;/SPAN&gt;], &lt;SPAN style="color: #56b6c2;"&gt;function&lt;/SPAN&gt; (&lt;SPAN style="color: #d19a66; font-style: italic;"&gt;qlik&lt;/SPAN&gt;) {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;qlik&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;setOnError&lt;/SPAN&gt;( &lt;SPAN style="color: #56b6c2;"&gt;function&lt;/SPAN&gt; ( &lt;SPAN style="color: #d19a66; font-style: italic;"&gt;error&lt;/SPAN&gt; ) {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;$&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;'#popupText'&lt;/SPAN&gt; ).&lt;SPAN style="color: #98c379;"&gt;append&lt;/SPAN&gt;( &lt;SPAN style="color: #61afef;"&gt;error&lt;/SPAN&gt;.&lt;SPAN style="color: #abb2bf;"&gt;message&lt;/SPAN&gt;&lt;SPAN style="color: #e06c75;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #e5c07b;"&gt;"&amp;lt;br&amp;gt;"&lt;/SPAN&gt; );&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;$&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;'#popup'&lt;/SPAN&gt; ).&lt;SPAN style="color: #98c379;"&gt;fadeIn&lt;/SPAN&gt;( &lt;SPAN style="color: #c678dd;"&gt;1000&lt;/SPAN&gt; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } );&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;$&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;"#closePopup"&lt;/SPAN&gt; ).&lt;SPAN style="color: #98c379;"&gt;click&lt;/SPAN&gt;( &lt;SPAN style="color: #56b6c2;"&gt;function&lt;/SPAN&gt; () {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #98c379;"&gt;$&lt;/SPAN&gt;( &lt;SPAN style="color: #e5c07b;"&gt;'#popup'&lt;/SPAN&gt; ).&lt;SPAN style="color: #98c379;"&gt;hide&lt;/SPAN&gt;();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } );&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;//callbacks -- inserted here --&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;//open apps -- inserted here --&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #56b6c2;"&gt;var&lt;/SPAN&gt; app &lt;SPAN style="color: #e06c75;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #61afef;"&gt;qlik&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;openApp&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;'Helpdesk Management.qvf'&lt;/SPAN&gt;, config);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;//get objects -- inserted here --&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;getObject&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;'QV02'&lt;/SPAN&gt;,&lt;SPAN style="color: #e5c07b;"&gt;'hRZaKk'&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;getObject&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;'QV01'&lt;/SPAN&gt;,&lt;SPAN style="color: #e5c07b;"&gt;'a5e0f12c-38f5-4da9-8f3f-0e4566b28398'&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;//create cubes and lists -- inserted here --&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;} );&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;---JS---&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;---HTML---&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;SPAN style="color: #e06c75;"&gt;html&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;qva-bootstrap&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"false"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;&lt;SPAN style="color: #e06c75;"&gt;head&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;meta&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;charset&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"UTF-8"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;meta&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;name&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"viewport"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;content&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"width=device-width, initial-scale=1.0"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;meta&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;http-equiv&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"X-UA-Compatible"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;content&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"ie=edge"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;&amp;lt;!-- ////////////////////////////////////////////////////////// --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;rel&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"stylesheet"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;href&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"../../resources/autogenerated/qlik-styles.css"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"../../resources/assets/external/requirejs/require.js"&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;&amp;lt;!-- ////////////////////////////////////////////////////////// --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;rel&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"stylesheet"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;href&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.css" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.css&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;link&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;rel&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"stylesheet"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;href&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"iron.css"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;title&lt;/SPAN&gt;&amp;gt;Document&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;title&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;head&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;&lt;SPAN style="color: #e06c75;"&gt;body&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;ng-app&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"MyApp"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;layout&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"column"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Button-A&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Button-B&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Button-C&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;md-button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;id&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"QV02"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;class&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"qvobject"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;style&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"width:100%;height:200px;"&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;div&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;&amp;lt;!--Error Popup--&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;div&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;id&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"popup"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;button&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;type&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"button"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;class&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"close"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;data-dismiss&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"modal"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;aria-label&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"Close"&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;id&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"closePopup"&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;span&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;aria-hidden&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"true"&lt;/SPAN&gt;&amp;gt;×&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;span&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;button&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;id&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"popupText"&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;p&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;div&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #5c6370; font-style: italic;"&gt;&lt;SPAN&gt;&amp;lt;!-- &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt; --&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.js" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.js&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&lt;SPAN style="color: #98c379;"&gt;src&lt;/SPAN&gt;=&lt;SPAN style="color: #e5c07b;"&gt;"iron.js"&lt;/SPAN&gt;&amp;gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;angular&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;module&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;'MyApp'&lt;/SPAN&gt;, [&lt;SPAN style="color: #e5c07b;"&gt;'ngMaterial'&lt;/SPAN&gt;])&lt;/P&gt;&lt;P&gt;&amp;nbsp; .&lt;SPAN style="color: #98c379;"&gt;run&lt;/SPAN&gt;(&lt;SPAN style="color: #56b6c2;"&gt;function&lt;/SPAN&gt; () {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #61afef;"&gt;console&lt;/SPAN&gt;.&lt;SPAN style="color: #98c379;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #e5c07b;"&gt;"Starting the 'starter-app' module"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;script&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;body&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;/&lt;SPAN style="color: #e06c75;"&gt;html&lt;/SPAN&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;---HTML---&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 20:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-I-use-AngularJS-Material-on-a-Qlik-Sense-Mashup/m-p/81049#M1153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-09T20:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use AngularJS Material on a Qlik Sense Mashup?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-I-use-AngularJS-Material-on-a-Qlik-Sense-Mashup/m-p/81050#M1154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bernardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a little workaround for this issue, I hope it will fulfill your requirements! I changed the app &amp;amp; object ids so you need to replace those before trying it out. The chart will be loaded after you click on "Button-A".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works by creating two angular-modules, one for ngMaterial, the other one for Qlik Sense:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTML:&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15234567253546679" jivemacro_uid="_15234567253546679"&gt;
&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;html qva-bootstrap="false"&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;head&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;meta charset="UTF-8"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;meta name="viewport"content="width=device-width, initial-scale=1.0"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;meta http-equiv="X-UA-Compatible"content="ie=edge"&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;link rel="stylesheet"href="../../resources/autogenerated/qlik-styles.css"&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;link rel="stylesheet"href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.css" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;body layout="column"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;div id="material" ng-controller="controller.main"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;md-button ng-click="displayChart()"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Button-A&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/md-button&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;md-button&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Button-B&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/md-button&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;md-button&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Button-C&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/md-button&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;lt;div id="qlik"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;div id="QV02" style="width:100%; height:200px;"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;!--Error Popup--&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;div id="popup"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;button type="button"class="close"data-dismiss="modal"aria-label="Close"id="closePopup"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;span aria-hidden="true"&amp;gt;×&amp;lt;/span&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/button&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;p id="popupText"&amp;gt;&amp;lt;/p&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;script src="../../resources/assets/external/requirejs/require.js" data-main="mashuptests.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JS:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15234565905269104" jivemacro_uid="_15234565905269104"&gt;
&lt;P&gt;var prefix = window.location.pathname.substr(0, window.location.pathname.toLowerCase().lastIndexOf("/extensions") + 1);&lt;/P&gt;
&lt;P&gt;var config = {&lt;/P&gt;
&lt;P&gt;host: window.location.hostname,&lt;/P&gt;
&lt;P&gt;prefix: prefix,&lt;/P&gt;
&lt;P&gt;port: window.location.port,&lt;/P&gt;
&lt;P&gt;isSecure: window.location.protocol === "https:"&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;require.config({&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;baseUrl: (config.isSecure ? "&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;") + config.host + (config.port ? ":" + config.port : "") + config.prefix + "resources",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;paths: {&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ngAnimate: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-animate.min&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ngAria: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-aria.min&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ngMessages: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular-messages.min&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ngMaterial: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min" rel="nofollow" target="_blank"&gt;https://ajax.googleapis.com/ajax/libs/angular_material/1.1.8/angular-material.min&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;require(['angular', 'js/qlik', 'ngMaterial', 'ngAria', 'ngMessages'], function (angular, qlik) {&lt;/P&gt;
&lt;P&gt;qlik.setOnError(function (error) {&lt;/P&gt;
&lt;P&gt;$('#popupText').append(error.message + "&amp;lt;br&amp;gt;");&lt;/P&gt;
&lt;P&gt;$('#popup').fadeIn(1000);&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;P&gt;$("#closePopup").click(function () {&lt;/P&gt;
&lt;P&gt;$('#popup').hide();&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// create and bootstrap qlik sense angular module&lt;/P&gt;
&lt;P&gt;var module = angular.module('QlikSenseWebApp', ['ngAnimate', 'ngRoute']);&lt;/P&gt;
&lt;P&gt;angular.bootstrap(document.getElementById('qlik'), ['qlik-angular', 'QlikSenseWebApp']);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// create and bootstrap angular material&lt;/P&gt;
&lt;P&gt;var material = angular.module('QlikSenseMaterial', ['ngMaterial']);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// create controller for handling button clicks etc.&lt;/P&gt;
&lt;P&gt;material.controller('controller.main', function ($scope) {&lt;/P&gt;
&lt;P&gt;$scope.displayChart = function(){&lt;/P&gt;
&lt;P&gt;var app = qlik.openApp('456942a2-d3e2-40a5-bad6-985e80294f05', config);&lt;/P&gt;
&lt;P&gt;//get objects -- inserted here --&lt;/P&gt;
&lt;P&gt;app.visualization.get('cQT').then(function (viz) {&lt;/P&gt;
&lt;P&gt;console.log(viz);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;viz.show('QV02');&lt;/P&gt;
&lt;P&gt;})&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;console.log('controller loaded');&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;angular.bootstrap(document.getElementById('material'), ['QlikSenseMaterial']);&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 14:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-can-I-use-AngularJS-Material-on-a-Qlik-Sense-Mashup/m-p/81050#M1154</guid>
      <dc:creator>m_s</dc:creator>
      <dc:date>2018-04-11T14:24:49Z</dc:date>
    </item>
  </channel>
</rss>

