Open maxwellgerber opened 8 years ago
Did you find a decision for this issue?
IIRC (this was for an internship project a few years ago), I forked my own copy of the repo and added the code myself. I think I really wanted the templateURL param because that's kinda similar to what Angular 1.x let you do, which was the only frontend tool I was familiar with at the time. Looking back, it's ridiculous to start putting HTTP requests in this lib, it would be much more straightforward to have the user make a request to the URL and then instantiate the notification afterwards.
It would be nice to have baked in support for loading a template from a remote URL. Eg.
$.notify({messge:"This is from a remote template!"}, {templateURL: "./partials/alert-lg.html"}