例如左边一个列表,我切换列表项是右边的内容进行切换,右边的内容格式相同。我知道ng-router可以用list/:type来实现多个路由匹配一个控制器和视图 所以想问下UI-router可以实现这种效果么 如果内容只用一个控制器的话
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
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