title: How to fetch the curent time in videogular on ng-click
body: <p>On ng-click call publishBookmark scope object.On html page rendering it has a video tag,so catching the video tag and trying to get the current time location when i click the button but alway gets "0" as alert message.</p>
  
  <pre><code>&lt;button class="btn-default" type="button" data-ng-click="publishBookmark()"&gt;
  &lt;/button&gt;
  
  $scope.publishBookmark = function () {
      var location = document.getElementsByTagName("video").currentTime;
      alert(location);
  };
  
  &lt;!--Videogular COntainer Starts  --&gt;
  &lt;div ng-controller="videogularController as controller" class="videogular- player"&gt;
  &lt;videogular vg-theme="controller.config.theme.url"
  vg-auto-play="controller.config.plugins.controls.autoPlay"&gt;
  &lt;vg-media vg-src="controller.config.sources"
  vg-native-controls="false"&gt;
  &lt;/vg-media&gt;
  &lt;vg-controls vg-autohide="controller.config.plugins.controls.autoHide" 
  vg-autohide-time="controller.config.plugins.controls.autoHideTime"&gt;
  &lt;vg-play-pause-button&gt;&lt;/vg-play-pause-button&gt;
  &lt;vg-time-display&gt;{{ API.currentTime | date:'mm:ss':'+0000' }}&lt;/vg-time- display&gt;
  &lt;vg-scrub-bar&gt;
  &lt;vg-scrub-bar-current-time&gt;&lt;/vg-scrub-bar-current-time&gt;
  &lt;/vg-scrub-bar&gt;
  &lt;vg-time-display&gt;{{ API.totalTime | date:'mm:ss':'+0000' }}&lt;/vg-time-display&gt;
  &lt;vg-volume&gt;
  &lt;vg-mute-button&gt;&lt;/vg-mute-button&gt;
  &lt;vg-volume-bar&gt;&lt;/vg-volume-bar&gt;
  &lt;/vg-volume&gt;
  &lt;vg-playback-button&gt;&lt;/vg-playback-button&gt;
  &lt;vg-fullscreen-button&gt;&lt;/vg-fullscreen-button&gt;
  &lt;/vg-controls&gt;
  &lt;vg-poster vg-url='controller.config.plugins.poster'&gt;&lt;/vg-poster&gt;
  &lt;/videogular&gt;
  &lt;!-- Videogular Container Ends --&gt;
  </code></pre>
  
  <p>alert always shows 0 as default.
  New to angular JS ,need help.
  Thanks.</p>