I need to send an email with Angularjs.
$window.open("mailto:"+ emailId + "?subject=" + subject+"&body="+message,"_self");
The body is stored in a HTML file, its content :
<p>Hello</p>
<p>This is a test mail template</p></div>
<p>I hope you can help me on this</p>
<p>Thank you </p>
<p>Good bye</p>
How can I load the html content of this file into the message variable?
Thank you.