Cesar, could you please post another commit with the following changes:
1. Add your sign-off
2. Change
$q.all(promises).then(refresh_page());
to
$q.all(promises).then(refresh_page);
This way the refresh_page function is not called until after the promises are complete. Alternatively, wrap it up like .then(function() { refresh_page() });
Cesar, could you please post another commit with the following changes:
1. Add your sign-off
2. Change all(promises) .then(refresh_ page()) ; all(promises) .then(refresh_ page);
$q.
to
$q.
This way the refresh_page function is not called until after the promises are complete. Alternatively, wrap it up like .then(function() { refresh_page() });