Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update README

  • Loading branch information...
commit 978c17595a6eaa23f44c35286f01c33fc4d05c8f 1 parent a840f22
Eric Clemmons authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 README.md
14 README.md
View
@@ -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'
}
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.