.directive("stoppropagation", function () {
return {
link: function (scope, element, attrs, ngModel) {
element.on('click', function (event) {
event.stopPropagation();
});
}
}
})
沒有留言:
張貼留言