AngularJS directive to check if a DOM element is in the browser viewport.