Trying to incorporate ionic loading ,doesnt show the loading or any errors …
Any suggestions?
$scope.searchByBusinessName = function (bizName ,zipCode) {
$scope.loadingIndicator = $ionicLoading.show({
content: '<i class="icon ion-loading-d"></i>',
animation: 'fade-in',
showBackdrop: true,
maxWidth: 200,
showDelay: 5
});
//removed call to web service !
$scope.listings = [];
console.log(locations.results.length);
$ionicLoading.hide();
}