CenterScout.config(function($routeProvider) {
    $routeProvider.when('/', {
        controller: 'HomeController',
        templateUrl: 'views/home.html'
    });

    $routeProvider.when('/home', {
        controller: 'HomeController',
        templateUrl: 'views/home.html'
    });

    $routeProvider.when('/class', {
        controller: 'ClassController',
        templateUrl: 'views/class.html'
    });

    $routeProvider.when('/about', {
        controller: 'AboutController',
        templateUrl: 'views/about.html'
    });

    $routeProvider.when('/404', {
        controller: 'ErrorController',
        templateUrl: 'views/404.html'
    });

    $routeProvider.otherwise({
        redirectTo: '/404'
    });
});

if(isCordova())
    $('body').addClass('cordova');

CenterScout.config(function($routeProvider) {
    $routeProvider.when('/', {
        controller: 'HomeController',
        templateUrl: 'views/home.html'
    });

    $routeProvider.when('/home', {
        controller: 'HomeController',
        templateUrl: 'views/home.html'
    });

    $routeProvider.when('/class', {
        controller: 'ClassController',
        templateUrl: 'views/class.html'
    });

    $routeProvider.when('/about', {
        controller: 'AboutController',
        templateUrl: 'views/about.html'
    });

    $routeProvider.when('/404', {
        controller: 'ErrorController',
        templateUrl: 'views/404.html'
    });

    $routeProvider.otherwise({
        redirectTo: '/'
    });
});

if(isCordova())
    $('body').addClass('cordova');

Change 404 route to index
Change 404 route to index
