fixing popup messages with trusted HTML

Fixes a small bug/feature that was introduced in the latest version of angular