text: angular.module("angular-scrollin-video",[]).directive("ilnScrollInVideo",["$window",function(n){return{restrict:"A",link:function(l,e,i){console.log("ilnScrollInVideo");var o=e[0].getBoundingClientRect().top,t=i.scrollInOffset||.75,r=i.scrollInClass||"active";angular.element(n).bind("scroll",function(){o=e[0].getBoundingClientRect().top,o<=n.innerHeight*t&&e.addClass(r),l.$apply()})}}}]);