Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49253

Help on loading controllers

$
0
0

@harishmeetsu wrote:

Hi all,

Could you please advise me on this? I have been using loading controller across my app and its mostly during the providers fetching or saving the data, the controller is presented. The loading controller is coded the component while the providers are called to fetch or save the data. However, there might be scenarios when my provider fails during run time. I am handling the errors through a custom error handler globally. However, I am not able to dismiss the loading controller. My question is how to get active loading controllers and dismiss them in my custom error handler? BTW, I will be navigating to a different page in the custom error handler and it works fine, just that the loading controller overlay exists whatsoever.

Thanks
Hareesh

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49253

Trending Articles