摘要: my-directive为指令名称,thisdata为绑定的数据 app.directive('myDirective',function(){ return { restrict:'EA', template:'{{thisdata.name}}', //thisdata表示act ... 阅读全文
posted @ 2016-11-17 15:35 lmy2016 阅读(135) 评论(0) 推荐(0) 编辑