Black screen after app publish


#1

There are 0 errors in the browser of javascript but still. Any help would be appreciated.
Thank you.
My app.js
// Ionic Starter App

// angular.module is a global place for creating, registering and retrieving Angular modules
// ‘starter’ is the name of this angular module example (also set in a attribute in index.html)
// the 2nd parameter is an array of ‘requires’
// ‘starter.services’ is found in services.js
// ‘starter.controllers’ is found in controllers.js
var url =“http://go-aga.com/”;
angular.module(‘starter’, [‘ionic’, ‘starter.controllers’, ‘starter.services’,‘ngCordova’, ‘credit-cards’,‘ngMessages’])

.run(function($ionicPlatform,$timeout) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
cordova.plugins.Keyboard.disableScroll(true);
}
if (window.StatusBar) {
// org.apache.cordova.statusbar required
StatusBar.styleDefault();
}
console.log("window.stripe ", JSON.stringify(window.stripe));
});
$timeout(function() {
$state.go(’/login’);
}, 10000);
})

.config(function($stateProvider, $urlRouterProvider) {

// Ionic uses AngularUI Router which uses the concept of states
// Learn more here: https://github.com/angular-ui/ui-router
// Set up the various states which the app can be in.
// Each state’s controller can be found in controllers.js
$stateProvider

// setup an abstract state for the tabs directive
.state(‘tab’, {
url: ‘/tab’,
abstract: true,
templateUrl: ‘/tabs.html’
})

// Each tab has its own nav history stack:

.state(‘tab.dash’, {
url: ‘/dash’,
views: {
‘tab-dash’: {
templateUrl: ‘/tab-dash.html’,
controller: ‘AuthCtrl’
}
}
})
.state(‘Login’,{
url: ‘/login’,
templateUrl: ‘/login.html’,
controller:‘AuthCtrl’
})
.state(‘NewJobs’,{
url:’/newJobs’,
templateUrl: ‘/new-jobs.html’,
controller: ‘JobsCtrl’
})
.state(‘Index’,{
url:’/index’,
templateUrl:‘templates/index.html’,
controller:‘DashCtrl’
})
.state(‘ForgotPassword’,{
url:’/forgot_password’,
templateUrl: ‘/forgot-password.html’,
controller: ‘AuthCtrl’
})
.state(‘Main’,{
url:’/main’,
templateUrl: ‘/main-screen.html’,
controller: ‘MainCtrl’
})
.state(‘tab.chats’, {
url: ‘/chats’,
views: {
‘tab-chats’: {
templateUrl: ‘/tab-chats.html’,
controller: ‘ChatsCtrl’
}
}
})
.state(‘tab.chat-detail’, {
url: ‘/chats/:chatId’,
views: {
‘tab-chats’: {
templateUrl: ‘/chat-detail.html’,
controller: ‘ChatDetailCtrl’
}
}
})
.state(‘Notifications’,{
url:’/notifications’,
templateUrl:’/notifications.html’,
controller:‘DashCtrl’
})
.state(‘Signup’,{
url:’/register’,
templateUrl: ‘/register.html’,
controller: ‘AuthCtrl’
})
.state(“CreateTrip”,{
url: ‘/createTrip’,
templateUrl: ‘/create-trip.html’,
controller: ‘MapsCtrl’
})
.state(‘Location’,{
url:’/location’,
templateUrl:’/location.html’
})
.state(‘OrderCar’,{
url:’/orderCar’,
templateUrl:’/order-car.html’,
controller: ‘OrderCarCtrl’
})
.state(‘Payment’,{
url:’/payment’,
templateUrl:’/payment.html’,
controller:‘PaymentCtrl’
})
.state(‘Maps’,{
url: ‘/maps’,
templateUrl: ‘/maps.html’,
controller: ‘MapsCtrl’
})
.state(‘Pickup’,{
url:’/pickup’,
templateUrl:’/pickup.html’,
controller:‘JobsCtrl’
})
.state(‘DriverRegister’,{
url:’/driverRegister’,
templateUrl:’/driver-reg.html’,
controller:‘AuthCtrl’
})

.state('Number',{
	url:'/number',
	templateUrl:'/number.html',
	controller:'AuthCtrl'
})
.state('DropOff',{
	url:'/dropOff',
	templateUrl:'/drop-off.html',
	controller:'JobsCtrl'
})
.state('History',{
	url:'/history',
	templateUrl: '/history.html',
	controller: 'HistoryCtrl'
})
.state('WhoAreYou',{
	url:'/whoareyou',
	templateUrl:'/who-are-you.html',
	controller: 'DashCtrl'
})
.state('ClientProfile',{
	url:'/clientProfile',
	templateUrl:'/client-profile.html',
	controller:'DashCtrl'
})
.state('YourRoute',{
	url:'/yourRoute',
	templateUrl:'/your-route.html',
	controller:'RouteCtrl'
})
.state('JobAlert',{
	url:'/jobAlert',
	templateUrl:'/job-alert.html',
	controller:'AlertsCtrl'
})

.state(‘tab.account’, {
url: ‘/account’,
views: {
‘tab-account’: {
templateUrl: ‘/tab-account.html’,
controller: ‘AccountCtrl’
}
}
});

// if none of the above states are matched, use this as the fallback
$urlRouterProvider.otherwise(’/whoareyou’);

});


#2

Hi Gamer,

Is it good with ionic serve?
Elaborate your Problem.
Happy Holidays Kid!