<p dir="auto">When creating a local variable in a template with the pound symbol works only with lowercase names.</p>
<p dir="auto">Example that works:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;input type=&quot;text&quot; #varf (keyup)=&quot;$event&quot;&gt; {{varf.value}}"><pre class="notranslate"><code class="notranslate">&lt;input type="text" #varf (keyup)="$event"&gt; {{varf.value}}
</code></pre></div>
<p dir="auto">Example that doesn't works (note the uppecase F):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;input type=&quot;text&quot; #varF (keyup)=&quot;$event&quot;&gt; {{varF.value}}"><pre class="notranslate"><code class="notranslate">&lt;input type="text" #varF (keyup)="$event"&gt; {{varF.value}}
</code></pre></div>
<p dir="auto"><a href="http://plnkr.co/edit/kPCYkVwMRz3HEIcnffUt?p=preview" rel="nofollow">Plunker example</a></p>
<p dir="auto">With the new parser <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="108968645" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/4417" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/4417/hovercard" href="https://github.com/angular/angular/issues/4417">#4417</a> we should switch to no longer convert <code class="notranslate">dash-case</code> to <code class="notranslate">camelCase</code> and instead honor the properties as is.</p>