Module License: MIT
Added by: Sam Deering
I could use an alert() box, but those are obtrusive and annoying.
Then I then thought of using Toaster. It's a great library that flashes a message in a preconfigured corner of the window. The message briefly appears before going away.
Angular-Errors-On-Toast is my Angular module solution.
In errorsOnToast.js, change the array of allowedURLs to have the correct URL(s). I.e.:
var allowedUrls = ["localhost", "example.com"];
I can do a lot more with this. Please let me know if you are interested.
Module stats last updated: 2015-06-28 11:03:03