Access 'app' from Angular extension
I'm at the point where I don't see the forest for all the trees...
I'm working on an extension with Angular that is supposed to interact/modify the current Illustrator document. But I can't access the global 'app' variable.
Example: I try to get the name of the current document.
new CSInterface().evalScript("alert(app.activeDocument.name")
...I get the name in an alert, but how can I get the name string directly in my Angular service (in this case)???
