{"action":"created","issue":{"url":"https://api.github.com/repos/ui-router/angular/issues/353","repository_url":"https://api.github.com/repos/ui-router/angular","labels_url":"https://api.github.com/repos/ui-router/angular/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/ui-router/angular/issues/353/comments","events_url":"https://api.github.com/repos/ui-router/angular/issues/353/events","html_url":"https://github.com/ui-router/angular/issues/353","id":340402956,"node_id":"MDU6SXNzdWUzNDA0MDI5NTY=","number":353,"title":"FEATURE REQUIRED: Implementing \"window.onpopstate = funcRef;\"","user":{"login":"paulodrade","id":789645,"node_id":"MDQ6VXNlcjc4OTY0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/789645?v=4","gravatar_id":"","url":"https://api.github.com/users/paulodrade","html_url":"https://github.com/paulodrade","followers_url":"https://api.github.com/users/paulodrade/followers","following_url":"https://api.github.com/users/paulodrade/following{/other_user}","gists_url":"https://api.github.com/users/paulodrade/gists{/gist_id}","starred_url":"https://api.github.com/users/paulodrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulodrade/subscriptions","organizations_url":"https://api.github.com/users/paulodrade/orgs","repos_url":"https://api.github.com/users/paulodrade/repos","events_url":"https://api.github.com/users/paulodrade/events{/privacy}","received_events_url":"https://api.github.com/users/paulodrade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-11T21:00:26Z","updated_at":"2018-07-11T22:53:18Z","closed_at":null,"author_association":"NONE","body":"Would be possible to implement something like `window.onpopstate = funcRef`? It would very nice if `ui-router` could listening to it and we would just do a `pushState()` to deal with URL changes for nested lazy load module states.\r\n\r\nAs @bouncehead13 reported very well on #164 , this is a very bad SEO indexing problem. \r\n\r\n> The problem is the href gets set as href=\"/shop\" instead of href=\"/shop/product/product-slug\". I know this is because the lazy loaded routes have not been loaded yet so it doesn't know what to resolve. However, this is a major bug because SEO bots cannot crawl the homepage because all links point to just /shop. In addition, right-click and open link in a new tab opens to /shop. Both cases should link to the fully built url (href=\"/shop/product/product-slug\")."},"comment":{"url":"https://api.github.com/repos/ui-router/angular/issues/comments/404335342","html_url":"https://github.com/ui-router/angular/issues/353#issuecomment-404335342","issue_url":"https://api.github.com/repos/ui-router/angular/issues/353","id":404335342,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDMzNTM0Mg==","user":{"login":"nateabele","id":18288,"node_id":"MDQ6VXNlcjE4Mjg4","avatar_url":"https://avatars1.githubusercontent.com/u/18288?v=4","gravatar_id":"","url":"https://api.github.com/users/nateabele","html_url":"https://github.com/nateabele","followers_url":"https://api.github.com/users/nateabele/followers","following_url":"https://api.github.com/users/nateabele/following{/other_user}","gists_url":"https://api.github.com/users/nateabele/gists{/gist_id}","starred_url":"https://api.github.com/users/nateabele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nateabele/subscriptions","organizations_url":"https://api.github.com/users/nateabele/orgs","repos_url":"https://api.github.com/users/nateabele/repos","events_url":"https://api.github.com/users/nateabele/events{/privacy}","received_events_url":"https://api.github.com/users/nateabele/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T22:53:18Z","updated_at":"2018-07-11T22:53:18Z","author_association":"MEMBER","body":"> I know this is because the lazy loaded routes have not been loaded yet\r\n\r\nThis sounds like a server-side rendering problem."}}
{"actor":{"display_login":"nateabele"}}