This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$templateCache / $compile loses error context when HTTP request for template fails #10514
Closed
Description
The $templateCache
service throws an exception if the HTTP request to fetch the template fails, however the exception message contains no useful context other than the fact that the request failed.
The exception should include the error code and other context.
https://github.com/angular/angular.js/blob/g3_v1_3/src/ng/templateRequest.js#L52