Best way to show first view dynamically when starting app

It’s been a while but i’m building another app and tried some suggestions from this thread.
Actually @leob suggestions works perfectly.
The trick is to not define an ‘otherwise’ state and do a $state.go change inside the run function of your app.js.
Don’t put it inside the ready() function because that won’t trigger until you go to a view it seems.

So for a simple solution:

 .run(function ($state) {
    $ionicPlatform.ready(function () {
    }

    if (condition1) {
      $state.go('view1');
    }
    else {
      $state.go('view2');
    }
  });

No split second other view what so ever :smile: