在应用程序ui路由器启动时使用url参数?

时间:2015-11-20 20:00:07

标签: angularjs angular-ui-router

所以,我坚持的是我试图在初创公司中使用参数。但我陷入了应用程序生命周期启动问题。

http://someapp/configtoken/action

http://someapp/index.html 控制器本质上是indexController。

在indexController中,我想接受configToken并进行某种网络服务命中以确定我应该或应该展示什么。

但是,当我将configToken转储到控制台时,没有定义任何内容。

有人有任何想法吗?

谢谢, 尼克

0 个答案:

没有答案