search

Home  >  Q&A  >  body text

angular.js - routing problem of anguarjs ui

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'
      }
    }
阿神阿神2776 days ago672

reply all(1)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-15 16:52:38

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

    reply
    0
  • Cancelreply