Get window.scrollTop in ionic 2


#1

How can i do this ionic without the jquery?

  var window_top = jQuery(window).scrollTop() + 56;
  var div_top = jQuery('#sticky-anchor').offset().top;

Please Help