如何在配置函数中调用$ rootScope变量 - angular

时间:2016-06-07 11:22:24

标签: angularjs

我在$ rootscope中有一个值,我想在配置函数中访问这个值,这是我的代码:

gpusGenerateCrashLog

任何想法如何实现这一点。

提前致谢

1 个答案:

答案 0 :(得分:2)

.config块在.run之前被排除,请尝试此run and config order

相关问题