摘要: A.Html内容如下 B.Html内容如下 Error: 在testCtrl 中是无法使用$scope.textCtrl获取 testGrid ,是因为 ng-inclue会生成一个独立的子scope ,和controller上的scope独立开来 类似于js的原型链。 所以要在 testCtrl上的 $scope访问 A.Html的控件 则需要 像下面这样写 ... 阅读全文
posted @ 2016-06-02 09:24 N1900 阅读(461) 评论(0) 推荐(0) 编辑