Ligthtbox in angular with JavaScript animation for IE8