# My app is showing blank white screen when i come back to it

**URL:** <https://forum.ionicframework.com/t/my-app-is-showing-blank-white-screen-when-i-come-back-to-it/85019>\
**Category:** ionic-v1\
**Created:** [April 1, 2017, 10:37am UTC](https://forum.ionicframework.com/t/my-app-is-showing-blank-white-screen-when-i-come-back-to-it/85019 "2017-04-01T10:37:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkj\_2015](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mkj\_2015](https://forum.ionicframework.com/u/mkj_2015)\
**Post date:** [April 1, 2017, 10:38am UTC](https://forum.ionicframework.com/t/my-app-is-showing-blank-white-screen-when-i-come-back-to-it/85019/1 "2017-04-01T10:38:00Z")

</div>

I have this states

```
    $stateProvider                            
    .state('signup', {
        url : '/signup',
        templateUrl: 'templates/signup/signup.html',
        controller : 'SignupController'               
    });

    $stateProvider
    .state('app', {
        url : '/app',
        abstract : true,
        templateUrl: 'templates/leftmenu.html',
        controller: 'GlobalLeftMenuController'                
    })
    .state('app.home', {
        url: '/home',
        views: {
            'app': {
                templateUrl: 'templates/app-home/templates/home.html',
                controller: 'AppHomeController'                           
            }
        }
    })
    .state('app.contacts', {
        url: '/contacts',
        params: {'params': null},
        views: {
            'app': {
                templateUrl: 'templates/messages/contacts.html',
                controller: 'ContactController'                           
            }
        }
    })

```

When i come to app.home and press back button app get closed. When i come back i got a blank white screen with no error shown in console. I am simple close the app by pressing middle button it works fine when i come back to app.

Platform:

Ionic1  
Android Lollipop

---

<div class="post-metadata">

**Author:** ![ziyaelarief](https://avatars.discourse-cdn.com/v4/letter/z/e495f1/32.png) [@ziyaelarief](https://forum.ionicframework.com/u/ziyaelarief)\
**Post date:** [April 1, 2017, 12:22pm UTC](https://forum.ionicframework.com/t/my-app-is-showing-blank-white-screen-when-i-come-back-to-it/85019/2 "2017-04-01T12:22:40Z")

</div>

maybe its because the app doesn’t know what state to be routed, then it shows blank, try to use this

```
  $urlRouterProvider.otherwise('/home');

```

then it will always go to /home when there is no url matched, put it after the last of your state definition

---

<div class="post-metadata">

**Author:** ![mkj\_2015](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mkj\_2015](https://forum.ionicframework.com/u/mkj_2015)\
**Post date:** [April 1, 2017, 1:32pm UTC](https://forum.ionicframework.com/t/my-app-is-showing-blank-white-screen-when-i-come-back-to-it/85019/3 "2017-04-01T13:32:10Z")

</div>

i added that also but still no luck
