diff --git a/Gruntfile.js b/Gruntfile.js index 12f4be355b..ceac68d1e6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -444,7 +444,7 @@ module.exports = function(grunt) { .replace(/\\/g, '\\\\') .replace(/'/g, "\\'") .replace(/\r?\n/g, '\\n'); - js = "!angular.$$csp() && angular.element(document).find('head').prepend('');"; + js = "angular.module('ui.bootstrap.carousel').run(function() {!angular.$$csp() && angular.element(document).find('head').prepend(''); })"; state.js.push(js); return state;