From 8c37865a46df302a364062e0bedc4c3eb8175f8d Mon Sep 17 00:00:00 2001 From: Chris Chua Date: Sat, 18 Apr 2015 23:43:42 -0700 Subject: [PATCH] feat(popover): 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/popover/docs/demo.html | 2 +- src/popover/popover.js | 6 ++++-- src/popover/test/popover-template.spec.js | 16 +++++++++++++++- template/popover/popover-template.html | 2 +- 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/popover/docs/demo.html b/src/popover/docs/demo.html index b0dd4243e6..b4fcc087f0 100644 --- a/src/popover/docs/demo.html +++ b/src/popover/docs/demo.html @@ -14,7 +14,7 @@

Dynamic

- +