aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/$compile/tpload.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/error/$compile/tpload.ngdoc')
-rw-r--r--docs/content/error/$compile/tpload.ngdoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/content/error/$compile/tpload.ngdoc b/docs/content/error/$compile/tpload.ngdoc
new file mode 100644
index 00000000..b2b4fb2d
--- /dev/null
+++ b/docs/content/error/$compile/tpload.ngdoc
@@ -0,0 +1,11 @@
+@ngdoc error
+@name $compile:tpload
+@fullName Error Loading Template
+@description
+
+This error occurs when {@link ng.$compile `$compile`} attempts to fetch a template from some URL, and the request fails.
+
+To resolve this error, ensure that the URL of the template is spelled correctly and resolves to correct absolute URL.
+The [Chrome Developer Tools](https://developers.google.com/chrome-developer-tools/docs/network#network_panel_overview) might also be helpful in determining why the request failed.
+
+If you are using {@link ng.$templateCache} to pre-load templates, ensure that the cache was populated with the template.