I found a plug-in with the keyword "Infinite scrolling", which is exactly what I need. The link is as follows: http://binarymuse.github.io/ngInfiniteScroll/
After looking at it carefully, although this plan is good, it is not flexible enough for me.
Open the source code and understand it slightly after reading it. I did an evaluation and rewritten a directive from it which is more suitable for my current little thing ^_^
After understanding the implementation method, everything is easy to say
I found a plug-in with the keyword "Infinite scrolling", which is exactly what I need. The link is as follows:
http://binarymuse.github.io/ngInfiniteScroll/
After looking at it carefully, although this plan is good, it is not flexible enough for me.
Open the source code and understand it slightly after reading it. I did an evaluation and rewritten a directive from it which is more suitable for my current little thing ^_^
After understanding the implementation method, everything is easy to say
I think we should write a directive to monitor scroll