国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

angular.js - Can ui-router share a controller and view template with multiple states?
我想大聲告訴你
我想大聲告訴你 2017-05-15 17:14:08
0
2
725

For example, if there is a list on the left, when I switch the list items, I switch the content on the right, and the content on the right has the same format.
I know that ng-router can use list/:type to implement multiple routes matching one controller and view
So I would like to ask if UI-router can achieve this effect if the content only uses one controller

我想大聲告訴你
我想大聲告訴你

reply all(2)
左手右手慢動(dòng)作

This problem was solved by ui-sref="statu({key-value pair parameters})"

迷茫

Yes, when you configure routing, just use the same template and controller for different states

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