fix(language-service): parse extended i18n forms

This commit is contained in:
Chuck Jazdzewski
2017-04-04 10:31:01 -07:00
committed by Alex Rickabaugh
parent fe0d02fc47
commit bde9771991
2 changed files with 24 additions and 2 deletions

View File

@ -110,7 +110,7 @@ class LanguageServiceImpl implements LanguageService {
const config = new CompilerConfig();
const parser = new TemplateParser(
config, expressionParser, new DomElementSchemaRegistry(), htmlParser, null, []);
const htmlResult = htmlParser.parse(template.source, '');
const htmlResult = htmlParser.parse(template.source, '', true);
const analyzedModules = this.host.getAnalyzedModules();
let errors: Diagnostic[] = undefined;
let ngModule = analyzedModules.ngModuleByPipeOrDirective.get(template.type);