From 28949a145dc4ff79b7bfb38b25a614b104c89a6f Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 9 Apr 2015 19:22:47 -0700 Subject: [PATCH] Add angular-sanitize --- Civi/Angular/Manager.php | 4 ++++ bower.json | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Civi/Angular/Manager.php b/Civi/Angular/Manager.php index b3ac3d60c4..acf473bf3e 100644 --- a/Civi/Angular/Manager.php +++ b/Civi/Angular/Manager.php @@ -113,6 +113,10 @@ class Manager { 'ext' => 'civicrm', 'js' => array('bower_components/angular-route/angular-route.min.js'), ); + $angularModules['ngSanitize'] = array( + 'ext' => 'civicrm', + 'js' => array('bower_components/angular-sanitize/angular-sanitize.min.js'), + ); $angularModules['ui.utils'] = array( 'ext' => 'civicrm', 'js' => array('bower_components/angular-ui-utils/ui-utils.min.js'), diff --git a/bower.json b/bower.json index 92688b2619..6ada8891fc 100644 --- a/bower.json +++ b/bower.json @@ -20,7 +20,8 @@ "lodash-compat": "~3.0", "google-code-prettify": "~1.0", "select2": "colemanw/select2#stable/3.5", - "jquery-validation": "~1.13" + "jquery-validation": "~1.13", + "angular-sanitize": "~1.3.15" }, "resolutions": { "angular": "~1.3.8" -- 2.25.1