thisJS:
$('#blockID').ajaxUpload({
url : 'services/uploadImgage.php',
name: 'file',
data: {
},
onSubmit: function() {
},
onComplete: function(result) {
}
});
Such code I figure to plase inside ng-click function but don't know how. I think to plase this code indide directives but don't know appear in future probles with response data manipulation. How I should done?