Closed
Description
Hi there. I'd like to handle both a default state for the first page get and show a 404 error template if a url does not exist. I'm trying with
$urlRouterProvider.otherwise("/");
That solve my first problem but, of course, anytime an incorrect url is typed, ui-router load the starting state. Is there a way to handle those two cases separately?