Skip to content
This repository
Browse code

Update README

  • Loading branch information...
commit 978c17595a6eaa23f44c35286f01c33fc4d05c8f 1 parent a840f22
Eric Clemmons authored

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. +7 7 README.md
14 README.md
Source Rendered
@@ -31,14 +31,14 @@ which preloads `$templateCache` to prevent round-trips to the server.
31 31 ```js
32 32 // grunt.js
33 33 grunt.initConfig({
34   - ngtemplates: {
35   - myapp: {
36   - options: {
37   - base: 'src/views', // strips this string from beggining of $templateCache id
38   - pathPrepend: '/static/assets/' // optional, prepends this string to $templateCache id
  34 + ngtemplates: {
  35 + myapp: {
  36 + options: {
  37 + base: 'src/views', // $templateCache ID will be relative to this folder
  38 + prepend: '/static/assets/' // (Optional) Prepend path to $templateCache ID
39 39 },
40   - src: [ 'src/views/**.html' ],
41   - dest: 'dist/templates.js'
  40 + src: [ 'src/views/**.html' ],
  41 + dest: 'dist/templates.js'
42 42 }
43 43 }
44 44 });

0 comments on commit 978c175

Please sign in to comment.
Something went wrong with that request. Please try again.