Issue
I know that the reverse is possible, where you can pass Spark variables to Angular, using z.angularBind
, but what I want is to pass variables from Angular to Spark. A use case here is that the user fills information in an Angular form and when presses a button, the Spark program runs, after getting values passed from Angular. So, another question here is can I also run the Spark paragraph directly from within Angular?
To summarize my problem, basically on a button click, the Angular program would pass the variables to the Spark paragraph and also run that paragraph (I want an Angular version of z.run
). Is that kind of a thing possible in Zeppelin?
Solution
z.angularBind is your friend for this. See the documentation page here: https://zeppelin.apache.org/docs/0.6.0/displaysystem/front-end-angular.html#run-paragraph
Answered By - wilbur4321
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.