Hello,

I used to work with the binary version of zeppelin for our use cases. While
sharing variables of scala interpreter with angular, I use the below code

var controllerElement = document.querySelector('[ng-app=zeppelinWebApp]');

var scope = angular.element(controllerElement).scope().compiledScope;





 Yesterday, I pulled the latest code and built. I ran my use case and it
failed in the above lines.  After few minutes of digging, I use the below
code, and it worked.


var scope = angular.element($("#reset")).scope().compiledScope;


Unfortunately, i could not find any information about this behavior. Also,
the "reset" is a div id I have declared in the beginning of my angular
paragraph. This line of code will not work if I do not have any div defined.


Can someone please explain this behaviour?



with regards

Bala

Reply via email to