My infinite scroll not working

My infinite scroll is not working. I am trying to load 5 items every time it reaches the bottom, but it will not work:

The codepen:


But it works for me?
i scrolled until item 45^^

Hi Bengtler, yes I was just playing with the codeprn after I posted the question and it seems it needs to have $broadcast. I am though having anotger problem as in my application I will have two of these scroll sections inside of a single page. When I call the broadcast command it causes both scroll vies to load new data instead of just the scroll view I was scrolling through.