ui-router 父子state共享数据

  如果ui-view是嵌套的,那么在子view中,可以直接引用 

   $scope.$parent 即可。

posted on 2016-10-29 21:09  old土哥  阅读(503)  评论(0编辑  收藏  举报

导航