You can upload your template:
<script id="loading.html" type="text/ng-template"> <ion-spinner icon="bubbles"></ion-spinner> <p>LOADING...</p> </script>
and in your code:
$ionicLoading.show({ templateUrl: 'loading.html' // noBackdrop: true });
or, as Nam Pham suggested, defined an inline template:
$ionicLoading.show({ template: '<ion-spinner icon="bubbles"></ion-spinner><p>LOADING...</p>' // noBackdrop: true });
If you want, you can define another spinner .
You can see how it works here .
Leftyx
source share