阅读背景:

无法从angular config中的角度提供程序访问变量

来源:互联网 

I'm new to angular, so I'm pretty sure it is a stupid question, but I failed to figure this out myself. I have an app in which I have provider to get token from cookies using ngCookies, and I need to access it from inside app.config. I've tried several methods, but all I can get is service code, not a returned variable. What am I doing wrong?I'm new to angular, so I'm pretty sure it is a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: