From d1dd240b62079ab485856ad83f6a1672c13c2941 Mon Sep 17 00:00:00 2001 From: Sergo Date: Mon, 29 Jun 2015 22:04:23 +0300 Subject: [PATCH] Change the build root Change to root from "app" to "/app" so that the angular template cache would work properly after using "gulp build". --- app/templates/gulp/_build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/gulp/_build.js b/app/templates/gulp/_build.js index d9cc7d7c..b34039ff 100644 --- a/app/templates/gulp/_build.js +++ b/app/templates/gulp/_build.js @@ -24,7 +24,7 @@ gulp.task('partials', ['markups'], function () { })) .pipe($.angularTemplatecache('templateCacheHtml.js', { module: '<%- appName %>', - root: 'app' + root: '/app' })) .pipe(gulp.dest(conf.paths.tmp + '/partials/')); });