{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2601","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2601/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2601/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2601/events","html_url":"https://github.com/angular/angular-cli/issues/2601","id":181869389,"number":2601,"title":"how to lazy load a module from a package ? ","user":{"login":"jjlgjkkl","id":3423008,"avatar_url":"https://avatars.githubusercontent.com/u/3423008?v=3","gravatar_id":"","url":"https://api.github.com/users/jjlgjkkl","html_url":"https://github.com/jjlgjkkl","followers_url":"https://api.github.com/users/jjlgjkkl/followers","following_url":"https://api.github.com/users/jjlgjkkl/following{/other_user}","gists_url":"https://api.github.com/users/jjlgjkkl/gists{/gist_id}","starred_url":"https://api.github.com/users/jjlgjkkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjlgjkkl/subscriptions","organizations_url":"https://api.github.com/users/jjlgjkkl/orgs","repos_url":"https://api.github.com/users/jjlgjkkl/repos","events_url":"https://api.github.com/users/jjlgjkkl/events{/privacy}","received_events_url":"https://api.github.com/users/jjlgjkkl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-09T06:31:19Z","updated_at":"2016-10-09T06:31:19Z","closed_at":null,"body":"we have some modules published as package, and in this project we need to lazy load the module\r\n\r\nif the module in the target project, it's ok , like :\r\n\r\nexport const routes: Routes = [ \r\n{ path: '', redirectTo: 'test01', pathMatch: 'full'},\r\n{ path: 'test01', loadChildren: 'app/testing01/test01.module' },\r\n]\r\n\r\nbut, how can i load modules from package , like this:\r\n{ path: 'test01', loadChildren: '@xxx/testing01/test01.module' },\r\n\r\ni am using\r\n\r\n\"angular-cli\": \"1.0.0-beta.15\",\r\n@angular 2.0.0\r\n\r\nthank you and being in touch"}}
{"actor":{"display_login":"jjlgjkkl"}}