diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js
index 84a76eb7def..f94661c2ffa 100644
--- a/lib/grunt/utils.js
+++ b/lib/grunt/utils.js
@@ -111,7 +111,7 @@ module.exports = {
.replace(/\\/g, '\\\\')
.replace(/'/g, '\\\'')
.replace(/\r?\n/g, '\\n');
- js = '!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend(\'\');';
+ js = '!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend(window.angular.element(\'