Failed to load template: {0} (HTTP status: {1} {2})
This error occurs when $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 might also be helpful in determining why the request failed.
If you are using $templateCache
to pre-load templates, ensure that the cache was populated with the template.