<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8751
          template.animations.forEach(function (entry) { triggerLookup.add(entry.name); });
                  ^
TypeError: Cannot read property 'animations' of undefined
    at TemplateParseVisitor._validateElementAnimationInputOutputs (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8751:19)
    at TemplateParseVisitor.visitElement (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8734:20)
    at Element.visit (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:4656:78)
    at visit (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:4672:39)
    at /home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:4674:27
    at Array.forEach (native)
    at visitAll (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:4673:13)
    at TemplateParser.tryParseHtml (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8461:24)
    at TemplateParser.tryParse (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8451:23)
    at Object.exports.parseTemplate (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/codelyzer/angular/templateParser.js:14:23)"><pre class="notranslate"><code class="notranslate">/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8751
          template.animations.forEach(function (entry) { triggerLookup.add(entry.name); });
                  ^
TypeError: Cannot read property 'animations' of undefined
    at TemplateParseVisitor._validateElementAnimationInputOutputs (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8751:19)
    at TemplateParseVisitor.visitElement (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8734:20)
    at Element.visit (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:4656:78)
    at visit (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:4672:39)
    at /home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:4674:27
    at Array.forEach (native)
    at visitAll (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:4673:13)
    at TemplateParser.tryParseHtml (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8461:24)
    at TemplateParser.tryParse (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/@angular/compiler/bundles/compiler.umd.js:8451:23)
    at Object.exports.parseTemplate (/home/karl/Work/cnc/feedbackr/Frontend/node_modules/codelyzer/angular/templateParser.js:14:23)
</code></pre></div>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.1.0</li>
<li><strong>Language:</strong> Typescript 2.0.3</li>
<li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =   v6.8.0</li>
</ul>
<p dir="auto"><strong>I'm submitting a ...</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report
[ ] feature request
[ ] support request"><pre class="notranslate"><code class="notranslate">[x] bug report
[ ] feature request
[ ] support request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
After updating to angular 2.0.2, I did a tslint and get this error (not present before) :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node_modules\@angular\compiler\bundles\compiler.umd.js:8766
          template.animations.forEach(function (entry) { triggerLookup.add(entry.name); });
TypeError: Cannot read property 'animations' of undefined
    at TemplateParseVisitor._validateElementAnimationInputOutputs (node_modules\@angular\compiler\bundles\compiler.umd.js:8766:19)
    at TemplateParseVisitor.visitElement (node_modules\@angular\compiler\bundles\compiler.umd.js:8749:20)
    at Element.visit (node_modules\@angular\compiler\bundles\compiler.umd.js:4688:78)
    at node_modules\@angular\compiler\bundles\compiler.umd.js:4703:31
    at Array.forEach (native)
    at visitAll (node_modules\@angular\compiler\bundles\compiler.umd.js:4702:13)
    at TemplateParser.tryParse (node_modules\@angular\compiler\bundles\compiler.umd.js:8492:24)
    at Object.exports.parseTemplate (node_modules\codelyzer\angular\templateParser.js:14:23)
    at InputMetadataWalker.Ng2Walker.visitClassDecorator (\node_modules\codelyzer\angular\ng2Walker.js:115:62)
    at Array.forEach (native)
"><pre class="notranslate"><code class="notranslate">node_modules\@angular\compiler\bundles\compiler.umd.js:8766
          template.animations.forEach(function (entry) { triggerLookup.add(entry.name); });
TypeError: Cannot read property 'animations' of undefined
    at TemplateParseVisitor._validateElementAnimationInputOutputs (node_modules\@angular\compiler\bundles\compiler.umd.js:8766:19)
    at TemplateParseVisitor.visitElement (node_modules\@angular\compiler\bundles\compiler.umd.js:8749:20)
    at Element.visit (node_modules\@angular\compiler\bundles\compiler.umd.js:4688:78)
    at node_modules\@angular\compiler\bundles\compiler.umd.js:4703:31
    at Array.forEach (native)
    at visitAll (node_modules\@angular\compiler\bundles\compiler.umd.js:4702:13)
    at TemplateParser.tryParse (node_modules\@angular\compiler\bundles\compiler.umd.js:8492:24)
    at Object.exports.parseTemplate (node_modules\codelyzer\angular\templateParser.js:14:23)
    at InputMetadataWalker.Ng2Walker.visitClassDecorator (\node_modules\codelyzer\angular\ng2Walker.js:115:62)
    at Array.forEach (native)

</code></pre></div>
<p dir="auto"><strong>Expected behavior</strong><br>
Works as it worked in 2.0.1</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<ol dir="auto">
<li>Install angular 2.0.2 (common, compiler, core, forms, htpp, ...)</li>
<li>Do a tslint</li>
</ol>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li>Windows 10, angular2-seed</li>
<li><strong>Angular version:</strong> 2.0.2</li>
</ul>