We can solve this problem by Adding delay to window scroll event. If user is not scrolling for last one second, then We can confirm that the user stopped scrolling.


In this below script window was bonded to scroll event
Scroll event will be triggered after 1 second ( 1000 milli seconds)
function myCtrl($scope, $window, $timeout) {
   $scope._timeout  = null;
    "scroll", function() {
         if($scope._timeout){ //if there is already a timeout in process cancel it
         $scope._timeout = $timeout(function(){
           $scope._timeout = null;
           alert('scroll stopped');


  1. Reading of the books is very good hobby. Many of the people adopt it but now a days many people read the books through the internet but they cannot get that information from internet which is in the book. Much information about the libararies is on best essay writing service uk which we can know easily when we start to take a look of it.

  2. This comment has been removed by the author.

  3. Book reading is a good hobby my hobby is paly cricket that why I get Assignment Help to play cricket with my friends all the time.



Popular Posts