I know that there are some similar questions regarding this problem, however, none of the solutions could help me.
I am using AngularJS and want to detect a scroll event. I tried many versions on how to get the event, but it fires on first boot, and then never again.
My last code I tried was as follows:
$($window).on('scroll', alert('scrolled'));
But I also tried this:
and much more, but nothing works.
Can someone tell me what I am doing wrong?
Update: I tried the directive stuff, this works fine with safari, but not chrome. What's happening?
Update2: it works with the Chrome mobile view when using the shift key. Are there any restrictions on the chrome apple trackpad? WTF?
source share