An HTML5 video media API for AngularJS