See my sample in this post :
Just create a directive that detects the difference in the elements scrollTop
scrollTop