I\'m building a ionic / angular app and I\'m in a situation that I would like to reverse the scroll direction on scroll input.
Here jou can find a example of my sit
Here is an updated jsfiddle
Instead of using CSS to reverse the list, i used a custom filter :
app.filter('reverse', function() {
return function(items) {
return items.slice().reverse();
};
});
and applied it to the ng-repeat list.
ng-repeat="item in main.items | reverse"
The list is just visually reversed and not the divs. Thx to that you don't have to hack the scroll