Hi,
I’m having trouble implementing ionicLoading in my app. I just want a simple fade in or slide in when my content is loaded, but really can’t figure out how this would work.
My controller looks like this:
controller('NewsController', ['$scope', '$http', '$state', function($scope, $http, $state){
$http.get('http://www.domain.com/api/news').success(function(data) {
$scope.items = data;
$scope.whichitem = $state.params.aId;
}, function(err) {
console.error('ERR', err);
})
}])
Can you help me in figuring it out?
Thanks!