2
I have a singlepage application, and would like to monitor the POST for a webservice.
When I send the information it will remove the loading.
ex:
scope.deleteFile = function (fileId,index) {
scope.loading = true;
imageHandler.remove(scope.contentId, fileId);
scope.attachments.splice(index, 1);
};
That was the point where I stopped, however loading
there it is true
and knowing when or which function is jquery or native to javascript can I use to check if the post has been completed and after that give a scope.loading = false;
That’s really what I had in mind Renato. Thank you :)
– Edmo