Open anshulgithub opened 10 years ago
create a directive that does a call back when ng repeat is complete.
angular.module('Directives.RepeatDone', [])
.directive('repeatDone', function() {
return function(scope, element, attrs) { if (scope.$last) { // all are rendered scope.$eval(attrs.repeatDone); } } })
then run a function in your controller that refreshes your iscroll when the repeater is complete.
How we can implement pull to refresh up and down functionality in this version?