Test for online player using angularjs