From f2431d199f4490273773e49a1355d1238f7babeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20J=2E=20Barch=C3=A9in=20Molina?= Date: Fri, 22 Mar 2013 11:57:42 +0100 Subject: [PATCH] Updated instructions for pathPrepend --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2165f9..eeda71d 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,10 @@ which preloads `$templateCache` to prevent round-trips to the server. grunt.initConfig({ ngtemplates: { myapp: { - options: { base: 'src/views' }, + options: { + base: 'src/views', // strips this string from beggining of $templateCache id + pathPrepend: '/static/assets/' // optional, prepends this string to $templateCache id + }, src: [ 'src/views/**.html' ], dest: 'dist/templates.js' }