Github user zjffdu commented on the issue:

    https://github.com/apache/zeppelin/pull/2240
  
    @Leemoonsoo Thanks for suggestion, the second approach works, but I didn't 
find a way to take `InterpreterContext` automatically. Another scenario is that 
user may do need to run the current paragraph. In the following code, I want to 
rerun the current paragraph if user click the link. 
    
    ```
    println("%angular <div id=\'angularTestButton\' 
ng-click=\'myVar=myVar+1\'>BindingTest_{{myVar}}_</div>")
    
    z.angularBind("myVar", 0)
    z.angularWatch("myVar", "watcher_1", (before:Object, after:Object, 
context:org.apache.zeppelin.interpreter.InterpreterContext)=>{
        z.run("20170410-172601_2116783047")
    })
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to