Angular directive for using with fancybox and uppod player