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

Update cacheFactory.js #6068

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions src/ng/cacheFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,15 @@ function $CacheFactoryProvider() {
* `$templateCache` service directly.
*
* Adding via the `script` tag:
* <pre>
* <html ng-app>
* <head>
*
* <example>
* <file name="index.html">
* <script type="text/ng-template" id="templateId.html">
* This is the content of the template
* </script>
* </head>
* ...
* </html>
* </pre>
* </file>
* </example>
*
* **Note:** the `script` tag containing the template does not need to be included in the `head` of
* the document, but it must be below the `ng-app` definition.
Expand Down