Using UIRouter in an Angular 1.5 app, I'm having trouble trying to set an initial state for my angular module.
I've created a few states without URLs (because I don't need actual routing) and I would like to activate an initial state once the module is instantiated.
Usually, I would do this using $urlRouterProvider.otherwise(<initialRoute>), but since I don't use URLs in my states, that can't work.
Does UIRouter (or Angular) provide a solution for this?
ui-srefor$state.go()for example). Similarly to a routed application where you usually define a default URL (such as /home for example), I would like to have a default state (that is not URL-based). Is that clearer?