Skip to content

Commit

Permalink
Merge pull request #71 from Isaddo/patch-1
Browse files Browse the repository at this point in the history
fix README mistake, it put template in run block, not config block
  • Loading branch information
dignifiedquire committed Jul 9, 2015
2 parents 4352eab + dc80301 commit 442e034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ For instance this `template.html`...
```
... will be served as `template.html.js`:
```js
angular.module('template.html', []).config(function($templateCache) {
angular.module('template.html', []).run(function($templateCache) {
$templateCache.put('template.html', '<div>something</div>');
});
```
Expand Down

0 comments on commit 442e034

Please sign in to comment.