Podcast/lib/angular/docs/partials/error/$compile:tpload.html
2013-08-21 19:46:51 +02:00

13 lines
1.2 KiB
HTML
Executable file

<a href="http://github.com/angular/angular.js/edit/master/docs/content/error/compile/tpload.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">Error Loading Template</code>
<div><span class="hint">error in component <code ng:non-bindable="">$compile</code>
</span>
</div>
</h1>
<div><pre class="minerr-errmsg" error-display="Failed to load template: {0}">Failed to load template: {0}</pre>
<h2 id="Description">Description</h2>
<div class="description"><div class="-compile-page -compile-tpload-page"><p>This error occurs when <a href="api/ng.$compile"><code><code>$compile</code></code></a> attempts to fetch a template from some URL, and the request fails.</p>
<p>To resolve this error, ensure that the URL of the template is spelled correctly and resolves to correct absolute URL.
The <a href="https://developers.google.com/chrome-developer-tools/docs/network#network_panel_overview">Chrome Developer Tools</a> might also be helpful in determining why the request failed.</p>
<p>If you are using <a href="api/ng.$templateCache"><code>api/ng.$templateCache</code></a> to pre-load templates, ensure that the cache was populated with the template.</p>
</div></div>
</div>