I can\'t figure out a reasonable way, which doesn\'t feel like a hack, to solve this rather trivial problem.
I want a guest to see a splash page when they access the ind
My Solution:
angular.module('myApp') .config(function ($stateProvider) { $stateProvider .state('main', { url: '/', controller: function (Auth, $state) { if (someCondition) { $state.go('state1'); } else { $state.go('state2'); } } }); });
where state 1 and state 2 are defined elsewhere.