matowens / ng-notify

A simple, lightweight module for displaying notifications in your AngularJS app.
http://matowens.github.io/ng-notify
MIT License
668 stars 66 forks source link

Allow html in the alert message #6

Closed deegale closed 9 years ago

deegale commented 9 years ago

On this line:

https://github.com/matowens/ng-notify/blob/master/src/scripts/ng-notify.js#L67

if you change "ng-bind" to "ng-bind-html" you can pass html into the alert. This was a change I needed to make on my project.

Not sure if that's worth creating a fork and pull request for or not. Figured I'd post it in case anyone wanted to do the same thing.

deegale commented 9 years ago

Ha! I just saw that this was specifically removed from the code in a previous commit. Sorry, I should have looked into it more before posting.