Permalink
Browse files

Update README

  • Loading branch information...
1 parent a840f22 commit 978c17595a6eaa23f44c35286f01c33fc4d05c8f @ericclemmons committed Mar 27, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.md
View
14 README.md
@@ -31,14 +31,14 @@ which preloads `$templateCache` to prevent round-trips to the server.
```js
// grunt.js
grunt.initConfig({
- ngtemplates: {
- myapp: {
- options: {
- base: 'src/views', // strips this string from beggining of $templateCache id
- pathPrepend: '/static/assets/' // optional, prepends this string to $templateCache id
+ ngtemplates: {
+ myapp: {
+ options: {
+ base: 'src/views', // $templateCache ID will be relative to this folder
+ prepend: '/static/assets/' // (Optional) Prepend path to $templateCache ID
},
- src: [ 'src/views/**.html' ],
- dest: 'dist/templates.js'
+ src: [ 'src/views/**.html' ],
+ dest: 'dist/templates.js'
}
}
});

0 comments on commit 978c175

Please sign in to comment.