title: AngularJS window scroll event does not fire
body: <p>I know there are some similar question concerning this problem, however I none of the solutions could help me.</p>
  
  <p>I am using AngularJS and want to detect the scroll event. I tried plenty of versions on how to get the event, however at most it fires when first loaded then never again.</p>
  
  <p>My last code I tried was the following:</p>
  
  <pre><code>$($window).on('scroll', alert('scrolled'));
  </code></pre>
  
  <p>But I also tried this: </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/19375636/jquery-onscroll-not-firing-the-event-while-scrolling">Jquery .on(&#39;scroll&#39;) not firing the event while scrolling</a></li>
  <li>or just the simple JQuery .scroll() event</li>
  <li>window.onscroll = function(ev) ...</li>
  </ul>
  
  <p>and many more, but nothing works.</p>
  
  <p>Can anyone tell my what I am doing wrong?</p>
  
  <p>Update: I tried the directive stuff, this works perfectly fine with safari BUT however not with chrome. Whats going on?</p>
  
  <p>Update2: It works with the chrome mobile view when using the shift key. Are there any restrictions on chrome to apple trackpad? WTF?</p>