{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/4868","labels_url":"https://api.github.com/repos/angular/angular/issues/4868/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/4868/comments","events_url":"https://api.github.com/repos/angular/angular/issues/4868/events","html_url":"https://github.com/angular/angular/issues/4868","id":112977189,"number":4868,"title":"dynamicComponentLoader can't instantiation out of constructor","user":{"login":"Louis-7","id":12605300,"avatar_url":"https://avatars.githubusercontent.com/u/12605300?v=3","gravatar_id":"","url":"https://api.github.com/users/Louis-7","html_url":"https://github.com/Louis-7","followers_url":"https://api.github.com/users/Louis-7/followers","following_url":"https://api.github.com/users/Louis-7/following{/other_user}","gists_url":"https://api.github.com/users/Louis-7/gists{/gist_id}","starred_url":"https://api.github.com/users/Louis-7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Louis-7/subscriptions","organizations_url":"https://api.github.com/users/Louis-7/orgs","repos_url":"https://api.github.com/users/Louis-7/repos","events_url":"https://api.github.com/users/Louis-7/events{/privacy}","received_events_url":"https://api.github.com/users/Louis-7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/WORKS_AS_INTENDED","name":"WORKS_AS_INTENDED","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T08:36:43Z","updated_at":"2015-10-23T16:20:37Z","closed_at":"2015-10-23T16:20:37Z","body":"Hi Team,\r\n\r\nI wanna use dynamicComponentLoader to load my components.\r\n\r\nBut I found dynamicComponentLoader can only be instantiation in constructor, actually when I instantiation it out of a constuctor, there will be a 'simplistic' version of dynamicComponentLoader. \r\n\r\nI'm so confused, is this a bug? If not, how can I use dynamicComponentLoader in my custom method."}}