Controlling ngVideo object from Controller
<p>I'm using ngVideo in a project and am not sure how you would get/set current time from the controller.</p>

<p>My controller:</p>

<pre><code>'use strict';

angular.module('clientApp')
.config(function($stateProvider){
  $stateProvider
  .state('video', {
    url:'/video',
    templateUrl:'views/video.html',
    controller:'VideoController as video'
  });
})
.controller('VideoController', function($scope, video){
  video.addSource('mp4', 'views/unit_1.mp4');
  video.currentTime = 10;
  console.log('Current Time: ' video.currentTime);

});
</code></pre>

<p>My HTML:</p>

<pre><code>&lt;section class="video" ng-video&gt;
  &lt;video vi-screen&gt;&lt;/video&gt;
&lt;section vi-feedback&gt;

    &lt;ul&gt;
        &lt;li&gt;Time: {{currentTime}}s / {{duration}}s&lt;/li&gt;
        &lt;li&gt;Volume: {{volume}}&lt;/li&gt;
        &lt;li&gt;Buffered: {{buffered}}%&lt;/li&gt;
        &lt;li&gt;Loading: {{loading}}&lt;/li&gt;
        &lt;li&gt;Playing: {{playing}}&lt;/li&gt;
    &lt;/ul&gt;

&lt;/section&gt;
&lt;/section&gt;
</code></pre>