Browse Source

Include angular-sanitize module

Gaël Métais 10 years ago
parent
commit
49a6e4633a
3 changed files with 4 additions and 1 deletions
  1. 2 1
      bower.json
  2. 1 0
      front/src/js/app.js
  3. 1 0
      front/src/main.html

+ 2 - 1
bower.json

@@ -3,6 +3,7 @@
   "dependencies": {
     "angular": "~1.3.8",
     "angular-route": "~1.3.8",
-    "angular-resource": "~1.3.7"
+    "angular-resource": "~1.3.7",
+    "angular-sanitize": "~1.4.0-beta.0"
   }
 }

+ 1 - 0
front/src/js/app.js

@@ -1,5 +1,6 @@
 var yltApp = angular.module('YellowLabTools', [
     'ngRoute',
+    'ngSanitize',
     'indexCtrl',
     'aboutCtrl',
     'dashboardCtrl',

+ 1 - 0
front/src/main.html

@@ -20,6 +20,7 @@
     <script src="/bower_components/angular/angular.min.js"></script>
     <script src="/bower_components/angular-route/angular-route.min.js"></script>
     <script src="/bower_components/angular-resource/angular-resource.min.js"></script>
+    <script src="/bower_components/angular-sanitize/angular-sanitize.min.js"></script>
     <script src="/js/app.js"></script>
     <script src="/js/controllers/indexCtrl.js"></script>
     <script src="/js/controllers/aboutCtrl.js"></script>