title: How to detect if a div has hit the browser top/bottom in Angular 4
body: <p>There are answers for this question for JQuery(which I want to avoid in current project) and Angular1(which I don't understand).</p>