title: Playing video in angular
body: <p>I am working on a angular application and I am using video tag of html 5 in my code
  to play video. Code is as follows::</p>
  
  <pre><code> &lt;video autoplay&gt;
            &lt;source src="videos/video.mp4" type="video/mp4"&gt;
      &lt;/video&gt;
  </code></pre>
  
  <p>In this I just want my video to play once and on completion of video I want to route to next component. How can I do this?</p>