Fix ngProgress.complete in promise

Wrap it in an own function because .then binds another this at the context.