style($templateRequest): rename minError var to avoid name conflict
Closes #13701
This commit is contained in:
committed by
Martin Staffa
parent
03c572551d
commit
71e6ccbca6
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
var $compileMinErr = minErr('$compile');
|
||||
var $templateRequestMinErr = minErr('$compile');
|
||||
|
||||
/**
|
||||
* @ngdoc provider
|
||||
@@ -96,7 +96,7 @@ function $TemplateRequestProvider() {
|
||||
|
||||
function handleError(resp) {
|
||||
if (!ignoreRequestError) {
|
||||
throw $compileMinErr('tpload', 'Failed to load template: {0} (HTTP status: {1} {2})',
|
||||
throw $templateRequestMinErr('tpload', 'Failed to load template: {0} (HTTP status: {1} {2})',
|
||||
tpl, resp.status, resp.statusText);
|
||||
}
|
||||
return $q.reject(resp);
|
||||
|
||||
Reference in New Issue
Block a user