We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 547871e commit 2ca6d65Copy full SHA for 2ca6d65
1 file changed
src/ng/cacheFactory.js
@@ -208,17 +208,13 @@ function $CacheFactoryProvider() {
208
* `$templateCache` service directly.
209
*
210
* Adding via the `script` tag:
211
+ *
212
* ```html
- * <html ng-app>
213
- * <head>
214
- * <script type="text/ng-template" id="templateId.html">
215
- * This is the content of the template
216
- * </script>
217
- * </head>
218
- * ...
219
- * </html>
+ * <script type="text/ng-template" id="templateId.html">
+ * <p>This is the content of the template</p>
+ * </script>
220
* ```
221
- *
222
* **Note:** the `script` tag containing the template does not need to be included in the `head` of
223
* the document, but it must be below the `ng-app` definition.
224
0 commit comments