I'm doing an application in angular, I want to make that when the user's scroll is up automatically download more posts (that is done by pressing a button, but not automatically when your scroll is down). With jquery I make it execute something when the scroll is down, but I can not get it to execute my function of the angular component, here my code
Note that when I call the function / method from outside of angle if it recognizes it, but from the inside it does not recognize it as any type and when executing in the browser in the angle compiler it tells me that there is no loadMas function ( )