Ionic.Loading x spinners

What’s the difference between $ionic.Loading and the new Spinners??

Can anyone help me??

Hi @thiago

When you use $ionicLoading you’re also using one of the $ionicSpinner as well. :smile:

If you want to use a different spinner in your app just put this code in your app.js:

angular.constant('$ionicLoadingConfig', {
    template: '<ion-spinner icon="spiral"></ion-spinner>'

My app.js is a little bit different:

var app = angular.module('starter', ['ionic', 'ngCordova']);

So in order to use a different spinner I have to put a similar code at the end of my file:

app.constant('$ionicLoadingConfig', {
    template: '<ion-spinner icon="spiral"></ion-spinner>'

If you don’t want to use spiral just pick a different one and replace the name :smile: