rodikh/angular-json-editor

Unable to access to the editor object without controller

jesusmariocalleja opened this issue · 0 comments

Hi!

I needed to get access to the editor object. I saw in your demo that you could do it adding the controller, but in my case I need it to do it without adding it. After a lot of workarounds, I had to modify your library to get access to it through the scope, but I don't like to change external libraries.
Is there any clean way to get access to it? If not, could you apply the change I made?

(I just added this line)
image

(And then I can get it through the directive)
image

Thanks a lot! :)