Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b11a513

Browse files
gkalpakpetebacondarwin
authored andcommitted
docs($templateCache): fix typo (template --> templateCache)
1 parent a419ff0 commit b11a513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/cacheFactory.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,11 @@ function $CacheFactoryProvider() {
388388
* To retrieve the template later, simply use it in your component:
389389
* ```js
390390
* myApp.component('myComponent', {
391-
* template: 'templateId.html'
391+
* templateUrl: 'templateId.html'
392392
* });
393393
* ```
394394
*
395-
* or get it via $templateCache service:
395+
* or get it via the `$templateCache` service:
396396
* ```js
397397
* $templateCache.get('templateId.html')
398398
* ```

0 commit comments

Comments
 (0)