Add $ionicLoading during firebase data loading and remove it when $asArray.$loaded