【发布时间】:2015-07-17 17:26:52
【问题描述】:
我有一条路线:
.state('home.blog', {
url: "/blog",
templateUrl: "blog.html",
controller: "BlogController"
})
我的路线是localhost:3000/home/blog,我想把它改成localhost:3000/blog。我在网上搜索了但没有找到任何简单的解决方案。
【问题讨论】:
标签: angularjs angular-ui-router state