我有一条路线:
.state('home.blog', { url: "/blog", templateUrl: "blog.html", controller: "BlogController" })
我的路线是localhost:3000/home/blog我想改变它localhost:3000/blog.我搜索了互联网,但我没有找到任何简单的解决方案.
localhost:3000/home/blog
localhost:3000/blog
state angularjs angular-ui-router
angular-ui-router ×1
angularjs ×1
state ×1