8000 docs($templateCache): fix typo (template --> templateCache) · angular/angular.js@c78dd10 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit c78dd10

Browse files
gkalpakpetebacondarwin
authored andcommitted
docs($templateCache): fix typo (template --> templateCache)
1 parent 42e289c commit c78dd10

File tr E088 ee

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/cacheFactory.js

Lines changed: 2 additions & 2 deletions
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)
0