I'm trying to load data dynamically with ngInfiniteScroll and I'm having a problem where I'm getting $window.height is not a function.
Here's a fiddle, it's not quite working and I'm not sure why, the data doesn't display on the fiddle yet it does on my local machine.
I'm using ngInfiniteScroll and I'm getting this error:
TypeError: $window.height is not a function
windowBottom = $window.height() + $window.scrollTop();
Anyone have any idea why this error appears and how to sort it?
Thank you
For me, including jQuery before Angular in html did the trick ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With