# Hide a timed ionicLoading

**URL:** <https://forum.ionicframework.com/t/hide-a-timed-ionicloading/8118>\
**Category:** ionic-v1\
**Created:** [August 12, 2014, 3:15pm UTC](https://forum.ionicframework.com/t/hide-a-timed-ionicloading/8118 "2014-08-12T15:15:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aminecmi](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@aminecmi](https://forum.ionicframework.com/u/aminecmi)\
**Post date:** [August 12, 2014, 3:15pm UTC](https://forum.ionicframework.com/t/hide-a-timed-ionicloading/8118/1 "2014-08-12T15:15:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Bas](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@Bas](https://forum.ionicframework.com/u/Bas)\
**Post date:** [August 12, 2014, 5:48pm UTC](https://forum.ionicframework.com/t/hide-a-timed-ionicloading/8118/2 "2014-08-12T17:48:10Z")

</div>

schedule a $timeout function where you call hide()

```
$timeout(function() {
  $ionicLoading.hide();
}, <delay_in_ms>);
```
