$ionicLoadingConfig
Set the default options to be passed to the $ionicLoading
service.
Usage
var app = angular.module('myApp', ['ionic'])
app.constant('$ionicLoadingConfig', {
template: 'Default Loading Template...'
});
app.controller('AppCtrl', function($scope, $ionicLoading) {
$scope.showLoading = function() {
//options default to values in $ionicLoadingConfig
$ionicLoading.show().then(function(){
console.log("The loading indicator is now displayed");
});
};
});