ui-router 路由重定向

  1. $urlRouterProvider  
  2.           .when('/c?id', '/contacts/:id')  
  3.           .when('/user/:id', '/contacts/:id')  
  4.           .otherwise('/'); 

http://www.tuicool.com/articles/zeiy6ff

posted on 2016-04-25 09:24  李明卫  阅读(291)  评论(0)    收藏  举报

导航