Github user Leemoonsoo commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/27#issuecomment-90324261
  
    I'm not sure why you think you need rewrite every angular function in scala 
and saving all scope on the backend. You'll write the function only and if only 
you want to run some code in scala.
    
    Scope variable is saved only when it is defined by you. not all scope 
variable Zeppelin uses.
    Otherwise, Zeppelin will not able to restore exactly the same visual output 
after restart.
    Performance is only depends on how many scope variables user create
    
    One great thing of AngularJS is, it is watching scope variable's change. I 
wanted to leverage this advantage. So API is designed to automatically watch 
scope variable change in scala side. Not js side to manually call some function 
to notify scope variable change.



---
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