Angular directive for jwplayer