Nagaraj Tantri created ZEPPELIN-3220:
----------------------------------------
Summary: Zeppelin not loading up a custom angular controller
Key: ZEPPELIN-3220
URL: https://issues.apache.org/jira/browse/ZEPPELIN-3220
Project: Zeppelin
Issue Type: Bug
Components: documentation, front-end, Interpreters
Affects Versions: 0.7.3
Environment: Local source code build.
Reporter: Nagaraj Tantri
Attachments: Zep.png
When I want to run an angular chart library inside Zeppelin Angular
interpreter, it is not showing up as expected.
Initialization of the angular charts library - Flexmonster:
{code:java}
%spark
println("""%html
<script>
var sc = document.createElement('script');
sc.type = 'text/javascript';
sc.src = 'https://s3.amazonaws.com/flexmonster/2.3/flexmonster.js';
document.getElementsByTagName('head')[0].appendChild(sc);
angular.module("zeppelinWebApp").controller("flexmonster");
</script>""")
{code}
Once the above is executed, I tried loading the below:
{code:java}
%angular
<div fm-pivot fm-toolbar="true"
fm-component-folder="https://s3.amazonaws.com/flexmonster/2.3/"
fm-report="'https://s3.amazonaws.com/flexmonster/2.3/reports/report.json'"
fm-license-key="Z77L-XA5H5G-3J1M2B-0C0B3M">
</div>
{code}
The example to load it was here:
[https://github.com/flexmonster/pivot-angularjs]. The above license is a trial
version license.
There is no error nor there is any display. Is this even considered possible
under Zeppelin's context?
The official document just mentions about binding Angular data to another
paragraph.
Thanks,
Nagaraj
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)