title: angular2 html 5 audio player ontimeupdate event
body: <p>I have a simple angular application that has an audio player integrated. </p>
  
  <pre><code>&lt;audio id="passage-audio" class="passage" controls ontimeupdate="document.getElementById('tracktime').value = this.currentTime ;"&gt;
      &lt;source src="Luke.2.1-Luke.2.20.mp3" type="audio/mp3"&gt;
      &lt;em class="error"&gt;&lt;strong&gt;Error:&lt;/strong&gt; Your browser doesn't appear to support HTML5 Audio.&lt;/em&gt;
  &lt;/audio&gt;
  </code></pre>
  
  <p>the audio player has an event called "ontimeupdate", this will update the time in the html element with the id "tracktime". This works fine. </p>
  
  <p>What i would like to do is to use "ontimeupdate" to invoke a function in the controller. Right now it is not has access to the class. </p>
  
  <pre><code>&lt;audio id="passage-audio" class="passage" controls (ontimeupdate)="updateTime()"&gt;...
  &lt;/audio&gt;
  </code></pre>
  
  <p>I there a way to accomplish this?</p>
  
  <p>If i write an audio directive will i be able to access this event?</p>
  
  <p>Thanks </p>