Hide a timed ionicLoading


Hi all,

Is there a way to hide a timed ionicLoading?

I want to give my loading a “maximum” duration, by setting the duration parameter.
After some computing, I want to hide that loading with the .hide() method.

Is there a way to do this ?

Thanks for your help.


schedule a $timeout function where you call hide()

$timeout(function() {
}, <delay_in_ms>);