matowens/ng-notify — pull request #4 by epigos (2014-10-24 18:50:30+00:00)
Title: use ng-bind-html for scope variable injection

I have a custom AngularJs template tags (`{$ $}`) in my project so the injection of the scope variable `ngNotify.notifyMessage` do not work. This also prevent rendering `html` in the notification message.

line 64 in `ng-notify.js`:

var tpl = $compile(
'

' +
'×' +
'{{ ngNotify.notifyMessage }}' +
'

'
)(notifyScope);

I suggest it should be this way rather.

var tpl = $compile(
'

' +
'×' +
'' +
'

'
)(notifyScope);

This will prevent conflict with other templating language.