I have a directive, here is the code :
.directive(\'map\', function() { return { restrict: \'E\', replace: true, template: \'<
TESTED Hope this helps someone.
My simple approach (Think tags as your original code)
callfunction:"=callfunction" link : function(scope,element,attr) { scope.callfunction = function() { /// your code } } 0 讨论(0) 查看其它13个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复