Archived from the Transloadit support forum. Originally posted on January 25, 2014; details may be outdated, see our docs for current behavior. Original thread
thank you for your interest in our service. Here are your answers:
The example code in the tutorial shows a function for this:
signature: function(callback) {
// ideally you would be generating this on the fly somewhere
callback('here-is-my-signature');
},
So in that function you would do a call to your server (via $.ajax, or $.getJson or something Angular specific) and generate the signature on your server. You cannot generate the signature on the client as that would mean that you have to put your authSecret into your public Javascript code, which is a definite no-go.
& 3) I don’t really have any experience for this custom Angular module. I think these questions would be better directed towards the author of the module and then ask him to also update the module’s documentation. If he doesn’t respond, then please let me know and I’ll try to figure it out from the module’s source code.