我开始对嵌套 View 使用 angular-route-segment。但我有一个问题。当我路由到另一个段时,它会调用以前的 Controller 。这是我的问题
http://plnkr.co/edit/VUZM1ts5GvLnC2nf6QLe?p=preview
如有解决方案,将不胜感激
最佳答案
这已在 angular-route-segment v1.2.1 ( commit ) 中修复。
关于javascript - angular-route-segment 调用之前的 Controller ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19978291/