summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js
index b006390a..09e4d444 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -102,6 +102,13 @@ angular.module('zmApp', [
})
+//http://stackoverflow.com/a/24519069/1361529
+.filter('trusted', ['$sce', function ($sce) {
+ return function(url) {
+ return $sce.trustAsResourceUrl(url);
+ };
+}])
+
// for events view
.filter ('eventListFilter', function(NVRDataModel)