From 2ca25a0965c5aa851a9d668a52a3007b7b25c9ac Mon Sep 17 00:00:00 2001
From: Chris Chua
Date: Sat, 18 Apr 2015 23:40:55 -0700
Subject: [PATCH 1/3] feat(tooltip): use expression to fix usage with $sce
Allows for trusted resource URLs through Strict Contextual Escaping ($sce).
If the an interpolated expression is used instead, then the benefits of SCE is
lost.
Fixes #3558
---
src/tooltip/docs/demo.html | 2 +-
src/tooltip/test/tooltip-template.spec.js | 16 +++++++-
src/tooltip/tooltip.js | 42 +++++++++++++-------
template/tooltip/tooltip-template-popup.html | 2 +-
4 files changed, 45 insertions(+), 17 deletions(-)
diff --git a/src/tooltip/docs/demo.html b/src/tooltip/docs/demo.html
index 3072ec345c..4bb7f0adf9 100644
--- a/src/tooltip/docs/demo.html
+++ b/src/tooltip/docs/demo.html
@@ -20,7 +20,7 @@
fading
at elementum eu, facilisis sed odio morbi quis commodo odio. In cursus
delayed turpis massa tincidunt dui ut.
- Custom template
+ Custom template
nunc sed velit dignissim sodales ut eu sem integer vitae. Turpis egestas