IonicLoading - How to display spinner + label

Hello everyone!

I don’t see an option to display both spinner and label message!
Docs: http://ionicframework.com/docs/api/service/$ionicLoading/

Is there a simple way to do this or it must be something that I have to do myself?

Example (it doesn’t have to look like this of course): http://www.jqueryscript.net/images/jQuery-Ajax-Loading-Overlay-with-Loading-Text-Spinner-Plugin.jpg

Thanks!

Hi,

You can use:

$ionicLoading.show({
    template: '<ion-spinner icon="android"></ion-spinner><br>Loading...'
});
4 Likes

It works perfectly, very neat solution THANKS!