angular.js - routing problem of anguarjs ui
阿神
阿神 2017-05-15 16:50:38
0
1
663

I am new to this project. When encountering a jump, what does the first parameter after state mean? Is there any correspondence with url? Please give me some advice

 .state('app.single', {
    url: "/history/:sid/:bmid",
    views: {
      'menuContent': {
        templateUrl: "templates/historydata.html",
        controller: 'histFun'
      }
    }
阿神
阿神

闭关修行中......

reply all(1)
我想大声告诉你

https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views#example---name-matching

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template