Hi Henri,

If you are going to do this is the browser, you should be aware that you 
are exposing your private key on the internet. I don't think this is a good 
idea. A better idea is to add an API endpoint to your back-end that handles 
this.
If you want to know more on why, just search this group on security. There 
are a number of threads that go into more detail on this.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to