Add angular-sanitize
authorTim Otten <totten@civicrm.org>
Fri, 10 Apr 2015 02:22:47 +0000 (19:22 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 14 Jul 2015 04:00:05 +0000 (21:00 -0700)
Civi/Angular/Manager.php
bower.json

index b3ac3d60c49e1bd2f759dc1b900ed8c91cc88673..acf473bf3e838aa3331a896f6468ee2935a6e1f9 100644 (file)
@@ -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'),
index 92688b2619b8b46971ba1064e6cb11b110fde3f1..6ada8891fc3ea3f7c93affcd421af4076b60ed73 100644 (file)
@@ -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"