{"action":"created","issue":{"url":"https://api.github.com/repos/brandonroberts/angular-router-loader/issues/38","repository_url":"https://api.github.com/repos/brandonroberts/angular-router-loader","labels_url":"https://api.github.com/repos/brandonroberts/angular-router-loader/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/brandonroberts/angular-router-loader/issues/38/comments","events_url":"https://api.github.com/repos/brandonroberts/angular-router-loader/issues/38/events","html_url":"https://github.com/brandonroberts/angular-router-loader/issues/38","id":196224162,"number":38,"title":"How to handle lazy loading failure when offline?","user":{"login":"angeor2","id":24318853,"avatar_url":"https://avatars.githubusercontent.com/u/24318853?v=3","gravatar_id":"","url":"https://api.github.com/users/angeor2","html_url":"https://github.com/angeor2","followers_url":"https://api.github.com/users/angeor2/followers","following_url":"https://api.github.com/users/angeor2/following{/other_user}","gists_url":"https://api.github.com/users/angeor2/gists{/gist_id}","starred_url":"https://api.github.com/users/angeor2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angeor2/subscriptions","organizations_url":"https://api.github.com/users/angeor2/orgs","repos_url":"https://api.github.com/users/angeor2/repos","events_url":"https://api.github.com/users/angeor2/events{/privacy}","received_events_url":"https://api.github.com/users/angeor2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-17T14:17:00Z","updated_at":"2016-12-19T19:44:59Z","closed_at":"2016-12-19T16:58:12Z","body":"Hi, I'm using angular 2 lazy routing. Client is bundled with webpack2 using AOT and angular-router-loader to lazy load children. Normally everything works as expected.\r\nHowever if I emulate being disconnected (e.g by using the Offline chrome developer tools option) routing fails, as expected, because it can't load the relevant chunk. The error is 'Loading chunk [chunk number] failed'\r\nHowever after that no routing command works, it's like the router gets broken.\r\nTried to reproduce the issue in jit, but in no effort, router continues to work then. Perhaps this is something angular-router-loader could handle?\r\nIs there anything we can do to stop the router from breaking after the lazy load fails? I opened a [stackoverflow question](http://stackoverflow.com/questions/41164968/how-to-handle-angular2-lazy-loading-route-failure), no feedback yet.\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/brandonroberts/angular-router-loader/issues/comments/268059275","html_url":"https://github.com/brandonroberts/angular-router-loader/issues/38#issuecomment-268059275","issue_url":"https://api.github.com/repos/brandonroberts/angular-router-loader/issues/38","id":268059275,"user":{"login":"angeor2","id":24318853,"avatar_url":"https://avatars.githubusercontent.com/u/24318853?v=3","gravatar_id":"","url":"https://api.github.com/users/angeor2","html_url":"https://github.com/angeor2","followers_url":"https://api.github.com/users/angeor2/followers","following_url":"https://api.github.com/users/angeor2/following{/other_user}","gists_url":"https://api.github.com/users/angeor2/gists{/gist_id}","starred_url":"https://api.github.com/users/angeor2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angeor2/subscriptions","organizations_url":"https://api.github.com/users/angeor2/orgs","repos_url":"https://api.github.com/users/angeor2/repos","events_url":"https://api.github.com/users/angeor2/events{/privacy}","received_events_url":"https://api.github.com/users/angeor2/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T19:44:59Z","updated_at":"2016-12-19T19:44:59Z","body":"Seems to be a known angular2 issue: [https://github.com/angular/angular/issues/12289](https://github.com/angular/angular/issues/12289)"}}
{"actor":{"display_login":"angeor2"}}