From 27ca960b2a927ba4ebaee7168f490aaa092e99dc Mon Sep 17 00:00:00 2001 From: nemunaire Date: Mon, 26 Dec 2016 01:16:49 +0100 Subject: [PATCH] [admin] Add ng-sanitize --- admin/index.go | 1 + admin/static/index.html | 1 + admin/static/js/angular-sanitize.min.js | 1 + admin/static/js/app.js | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) create mode 120000 admin/static/js/angular-sanitize.min.js diff --git a/admin/index.go b/admin/index.go index b3a75929..4e097ed1 100644 --- a/admin/index.go +++ b/admin/index.go @@ -48,6 +48,7 @@ const indextpl = ` + diff --git a/admin/static/index.html b/admin/static/index.html index 67c1f462..9b1e4683 100644 --- a/admin/static/index.html +++ b/admin/static/index.html @@ -46,6 +46,7 @@ + diff --git a/admin/static/js/angular-sanitize.min.js b/admin/static/js/angular-sanitize.min.js new file mode 120000 index 00000000..7e14fe0a --- /dev/null +++ b/admin/static/js/angular-sanitize.min.js @@ -0,0 +1 @@ +../../../frontend/static/js/angular-sanitize.min.js \ No newline at end of file diff --git a/admin/static/js/app.js b/admin/static/js/app.js index 8c4efd27..d3a90ff0 100644 --- a/admin/static/js/app.js +++ b/admin/static/js/app.js @@ -1,4 +1,4 @@ -angular.module("FICApp", ["ngRoute", "ngResource"]) +angular.module("FICApp", ["ngRoute", "ngResource", "ngSanitize"]) .config(function($routeProvider, $locationProvider) { $routeProvider .when("/themes", {