Persist the refresher until refresh method is done


#1

Hello guys, sorry for my english, but follows the question below.

In my application, when I use the pull to refresh the refresher appears, but disappears immediately, as follows the example below
CodePen

But I wish that the component have this behavior
CodePen

But in my real application I do a HTTP request, and even if I implement the function as the example above it behaves like the first example.

SOLUTION

I found the solution, I had called

$rootScope.$broadcast('scroll.refreshComplete');

Before the HTTP request finished

Sorry >_<


#2

Glad to see you got this worked out :smile: