getvalue of pageYOffset & scrollY usifg angular code example Example: pageyoffset jquery $(window).scrollTop()