I use https://github.com/angular-ui/ui-router library. When I try to access index route (\'/\') I\'m redirected to 404. The code:
angular.module(\'cr\').config(f
The simplest way for me with ui-router was giving the url field an empty value :
$stateProvider .state('home', { url: '', templateUrl: 'views/homepage.html', controller: 'AppCtrl' })