Closed OndraM closed 10 years ago
Thats a nice idea, I like it!
However, I have 2 issues with it:
What do you think?
I've renamed the property to enableHtml, that makes sense.
About the angular 1.2 dependency - it is not possible to write compatible code for both 1.0 and 1.2, as the directive name and also ngSanitize dependency has changed. So if you don't want to make dependency on rc2 version, than yes, it is ok to wait to 1.2 stable :).
:+1:
:+1:
Hi, angular 1.2.0 was released over a week ago, and even 1.2.1 is out now. Any plans merging this PR and releasing new angular-growl version?
+1 need that feature
Sorry for the delay, had a lot to do in the last weeks. I think an update will be ready this week. So stay tuned!
merged this just now and released v0.4.0
Sometimes HTML in message content could be useful, e.g. when using something like
<strong>
for message header,<a>
for links in message etc.This PR adds support to disable escaping, using new ngBindHtml (thus creating dependency on angular 1.2). The configuration is similar as for TTL - either global or on per-message basis.