访问dom $窗口中的函数范围

时间:2016-06-28 00:21:52

标签: angularjs angularjs-directive angularjs-scope angular-ui-router

我需要访问功能范围enter image description here

中的最新内容

这是在console.log($ window);

但是我不确定最好的方法是什么。我最终试图访问Global:window对象。

由于

This is not the copy of the question above. I have read that global veriable question. Issue is that I can not get to $windows.variable and I see that variable under Global: window so I got to get to that first. But I am not sure how since its in <function scope> and I dont think I can do something like 

$window.getAllEvents.<function scope> or something

0 个答案:

没有答案