{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2496","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2496/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2496/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2496/events","html_url":"https://github.com/angular/angular-cli/issues/2496","id":180840046,"number":2496,"title":"Lazy loading is not working","user":{"login":"areijngoudt","id":2329587,"avatar_url":"https://avatars.githubusercontent.com/u/2329587?v=3","gravatar_id":"","url":"https://api.github.com/users/areijngoudt","html_url":"https://github.com/areijngoudt","followers_url":"https://api.github.com/users/areijngoudt/followers","following_url":"https://api.github.com/users/areijngoudt/following{/other_user}","gists_url":"https://api.github.com/users/areijngoudt/gists{/gist_id}","starred_url":"https://api.github.com/users/areijngoudt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/areijngoudt/subscriptions","organizations_url":"https://api.github.com/users/areijngoudt/orgs","repos_url":"https://api.github.com/users/areijngoudt/repos","events_url":"https://api.github.com/users/areijngoudt/events{/privacy}","received_events_url":"https://api.github.com/users/areijngoudt/received_events","type":"User","site_admin":false},"labels":[{"id":343381718,"url":"https://api.github.com/repos/angular/angular-cli/labels/command:%20build","name":"command: build","color":"c7def8","default":false},{"id":372202241,"url":"https://api.github.com/repos/angular/angular-cli/labels/priority:%201%20(urgent)","name":"priority: 1 (urgent)","color":"0052cc","default":false},{"id":220593710,"url":"https://api.github.com/repos/angular/angular-cli/labels/type:%20bug","name":"type: bug","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2016-10-04T09:04:11Z","updated_at":"2016-11-02T10:10:28Z","closed_at":null,"body":"> ## Please provide us with the following information:\n### OS?\n\n> Mac OSX El Capitan\n### Versions.\n\nangular-cli: 1.0.0-beta.16\nnode: 5.7.1\nos: darwin x64\n### Repro steps.\n\n> Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\n> The app was not created using the CLI. When upgrading to Angular 2 I choose to use the CLI as serving and building tool\n\nI have this route in my app.routing.ts:\n\n``````\nconst ROUTES: Routes = [\n    { path: '', redirectTo: 'analyse', pathMatch: 'full' },\n    { path: 'annotate', component: AnnotateComponent },\n    { path: 'fraud', component: FraudComponent },\n    { path: 'info',  loadChildren: 'app/info/info.module#InfoModule'  },\n];```\n\nthe InfoModule should be loaded lazily when navigating to it's path. But even in de --prod build there's no seperate bundle. The InfoModule is still part of the main.bundle.js.\n\nNote that I'm still importing the InfoModule in the app.module.ts otherwise the info route does not work at all.\n``````\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/257823124","html_url":"https://github.com/angular/angular-cli/issues/2496#issuecomment-257823124","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2496","id":257823124,"user":{"login":"daco","id":167343,"avatar_url":"https://avatars.githubusercontent.com/u/167343?v=3","gravatar_id":"","url":"https://api.github.com/users/daco","html_url":"https://github.com/daco","followers_url":"https://api.github.com/users/daco/followers","following_url":"https://api.github.com/users/daco/following{/other_user}","gists_url":"https://api.github.com/users/daco/gists{/gist_id}","starred_url":"https://api.github.com/users/daco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daco/subscriptions","organizations_url":"https://api.github.com/users/daco/orgs","repos_url":"https://api.github.com/users/daco/repos","events_url":"https://api.github.com/users/daco/events{/privacy}","received_events_url":"https://api.github.com/users/daco/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T10:10:28Z","updated_at":"2016-11-02T10:10:28Z","body":"For what's worth, I've the same problem too using angular-cli beta18"}}
{"actor":{"display_login":"daco"}}