Skip to content

Commit

Permalink
Updated instructions for pathPrepend
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarchein committed Mar 22, 2013
1 parent 1e6d129 commit f2431d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit f2431d1

Please sign in to comment.