refactor(compiler): update template parse error message to ng-template (#19029)

PR Close #19029
This commit is contained in:
Olivier Combe
2017-09-04 14:06:38 +02:00
committed by Miško Hevery
parent 6ac75a0674
commit b56dd32454
2 changed files with 2 additions and 2 deletions

View File

@ -443,7 +443,7 @@ class TemplateParseVisitor implements html.Visitor {
const identifier = bindParts[IDENT_KW_IDX];
this._parseVariable(identifier, value, srcSpan, targetVars);
} else {
this._reportError(`"let-" is only supported on template elements.`, srcSpan);
this._reportError(`"let-" is only supported on ng-template elements.`, srcSpan);
}
} else if (bindParts[KW_REF_IDX]) {