angularJS自定义directive之带参方法传递详解 如下所示://自定义指令"myEmail"grgApp.directive("myEmail",function(){return{restrict:'AE',scope:{toDir:'@',fro 带参