ui-router 路由重定向

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

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

原文地址:https://www.cnblogs.com/lmw425317/p/5429733.html