# Loading controller .dismiss()

**URL:** <https://forum.ionicframework.com/t/loading-controller-dismiss/70601>\
**Category:** ionic-v3\
**Created:** [November 18, 2016, 11:31am UTC](https://forum.ionicframework.com/t/loading-controller-dismiss/70601 "2016-11-18T11:31:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![andrewgy8](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/andrewgy8/32/106716_2.png) [@andrewgy8](https://forum.ionicframework.com/u/andrewgy8)\
**Post date:** [November 22, 2016, 5:23pm UTC](https://forum.ionicframework.com/t/loading-controller-dismiss/70601/5 "2016-11-22T17:23:19Z")

</div>

Thanks all for the help @reedrichards and @garrykapoor! I got it working with this:

> ```
> ngOnInit() { 
> this.initLoader();
> this.isLoading$ = this.store.let(fromRoot.getIaReportsIsLoading);
> this.isLoading$.subscribe((currentLoading: boolean) => { 
> currentLoading ? this.presentLoader() : this.closeLoader()
> });
> };
> 
> ```

```
initLoader(){
    this.loader = this.loadingCtrl.create({
        content: "Please wait while we load all Interaction Reports and Clients for you...",
    });
};
presentLoader() {
    this.loader.present()
};
closeLoader(){
    this.loader.dismiss();
}

```

---

_[View the full topic](https://forum.ionicframework.com/t/loading-controller-dismiss/70601)._
