{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/1163","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1163/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1163/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1163/events","html_url":"https://github.com/angular-ui/ui-router/issues/1163","id":36555172,"number":1163,"title":"abstract state has strange behavior","user":{"login":"climberwoodi","id":7993771,"avatar_url":"https://avatars.githubusercontent.com/u/7993771?v=3","gravatar_id":"","url":"https://api.github.com/users/climberwoodi","html_url":"https://github.com/climberwoodi","followers_url":"https://api.github.com/users/climberwoodi/followers","following_url":"https://api.github.com/users/climberwoodi/following{/other_user}","gists_url":"https://api.github.com/users/climberwoodi/gists{/gist_id}","starred_url":"https://api.github.com/users/climberwoodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/climberwoodi/subscriptions","organizations_url":"https://api.github.com/users/climberwoodi/orgs","repos_url":"https://api.github.com/users/climberwoodi/repos","events_url":"https://api.github.com/users/climberwoodi/events{/privacy}","received_events_url":"https://api.github.com/users/climberwoodi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-06-26T08:23:21Z","updated_at":"2015-09-20T17:30:07Z","closed_at":"2014-06-26T09:17:25Z","body":"When I first load the application in the browser with the url http://localhost:8080/ it works as expected and changes to the the state root.child. But if i reload the page in the browser i get the  error Uncaught SyntaxError: Unexpected token < in the browser console.\r\n\r\n![error](https://cloud.githubusercontent.com/assets/7993771/3396191/6d8bd878-fd0a-11e3-93a5-ad3e40ddbc4a.png)\r\n\r\nOn Server side it seems that root is add previously to all requests\r\n![error2](https://cloud.githubusercontent.com/assets/7993771/3396211/efcb19fc-fd0a-11e3-9399-046faa17e846.png)\r\n\r\n\r\n```\r\n<!DOCTYPE html>\r\n<html ng-app=\"ui-router-test\">\r\n<head>\r\n</head>\r\n<body>\r\n<p>Issue: abstract state is not working</p>\r\n\r\n<div class=\"navigation-element\" ui-sref-active=\"active\">\r\n    <a ui-sref=\"root.child\" class=\"navigation-link\"><img ng-src=\"app/img/defaultProfile.png\"></a>\r\n</div>\r\n<div class=\"navigation-element\" ui-sref-active=\"active\">\r\n    <a ui-sref=\"root.child2\" class=\"navigation-link\"><img ng-src=\"app/img/recommend.png\"></a>\r\n</div>\r\n\r\n<div id=\"content\">\r\n    <div ui-view></div>\r\n</div>\r\n\r\n<script type=\"text/javascript\" src=\"app/lib/angular/angular.js\"></script>\r\n<script type=\"text/javascript\" src=\"app/lib/angular/angular-ui-router.js\"></script>\r\n<script type=\"text/javascript\">\r\n    angular.module('ui-router-test', ['ui.router']).\r\n            config(['$stateProvider', '$urlRouterProvider','$locationProvider', function ($stateProvider, $urlRouterProvider, $locationProvider) {\r\n                $stateProvider.\r\n                        state('root', {\r\n                            url: '/root',\r\n                            abstract: true,\r\n                            template: '<ui-view/>'\r\n                        }).\r\n                        state('root.child', {\r\n                            url: '/child',\r\n                            template: 'You are in child'\r\n                        }).\r\n                        state('root.child2', {\r\n                            url: '/child2',\r\n                            template: 'You are in child2'\r\n                        });\r\n                $urlRouterProvider.otherwise('/root/child');\r\n\r\n                $locationProvider.html5Mode(true);\r\n\r\n            }]).run(['$state', '$rootScope', function ($state, $rootScope) {\r\n\r\n            }]);\r\n</script>\r\n</body>\r\n</html>\r\n```"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/comments/141812829","html_url":"https://github.com/angular-ui/ui-router/issues/1163#issuecomment-141812829","issue_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1163","id":141812829,"user":{"login":"Tumne","id":623755,"avatar_url":"https://avatars.githubusercontent.com/u/623755?v=3","gravatar_id":"","url":"https://api.github.com/users/Tumne","html_url":"https://github.com/Tumne","followers_url":"https://api.github.com/users/Tumne/followers","following_url":"https://api.github.com/users/Tumne/following{/other_user}","gists_url":"https://api.github.com/users/Tumne/gists{/gist_id}","starred_url":"https://api.github.com/users/Tumne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tumne/subscriptions","organizations_url":"https://api.github.com/users/Tumne/orgs","repos_url":"https://api.github.com/users/Tumne/repos","events_url":"https://api.github.com/users/Tumne/events{/privacy}","received_events_url":"https://api.github.com/users/Tumne/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T17:30:07Z","updated_at":"2015-09-20T17:30:07Z","body":"+1"}}