directive('footCommen', function() {return { restrict: 'AE',
templateUrl: './temple/foot.html',
replace: false
}});templateUrl: './temple/foot.html',当在多个地方使用同一个模板的时候,每个页面的ng-app模块都不同,怎么写一个共用的控制器来控制公共模块里面的数据呢
添加回答
举报
0/150
提交
取消