{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/11174","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/11174/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/11174/comments","events_url":"https://api.github.com/repos/angular/angular/issues/11174/events","html_url":"https://github.com/angular/angular/issues/11174","id":174151796,"number":11174,"title":"No provider for ControlContainer when a child component has a ngModelGroup","user":{"login":"xe4me","id":7995651,"avatar_url":"https://avatars.githubusercontent.com/u/7995651?v=3","gravatar_id":"","url":"https://api.github.com/users/xe4me","html_url":"https://github.com/xe4me","followers_url":"https://api.github.com/users/xe4me/followers","following_url":"https://api.github.com/users/xe4me/following{/other_user}","gists_url":"https://api.github.com/users/xe4me/gists{/gist_id}","starred_url":"https://api.github.com/users/xe4me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xe4me/subscriptions","organizations_url":"https://api.github.com/users/xe4me/orgs","repos_url":"https://api.github.com/users/xe4me/repos","events_url":"https://api.github.com/users/xe4me/events{/privacy}","received_events_url":"https://api.github.com/users/xe4me/received_events","type":"User","site_admin":false},"labels":[{"id":393879365,"url":"https://api.github.com/repos/angular/angular/labels/comp:%20forms","name":"comp: forms","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-30T23:40:24Z","updated_at":"2016-11-08T21:27:36Z","closed_at":"2016-09-01T17:58:58Z","body":"[\\* ] bug report => search github for a similar issue or PR before submitting\n\nThis is the original [plunker](http://embed.plnkr.co/LLf7Il/) which is written by @Paskal Prekht , which is an explanation on template driven forms:\n\nAnd here is my [fork](https://embed.plnkr.co/Q8pjSIVJHhfubILtvqWw/) ,\nwhich is exactly the same thing , except I'm trying to load one of the fieldsets as a separate child component.\n\nHere is the code : \n\n```\n@Component({\n  selector:'form-group-component',\n  template:`\n    <fieldset ngModelGroup=\"anotherAddress\">\n      <div>\n        <label>Street2:</label>\n        <input type=\"text\" name=\"street2\" ngModel>\n      </div>\n\n    </fieldset>\n\n  `\n})\nexport class FormGroupComponent{\n\n}\n\n@Component({\n  selector: 'form-component',\n  directives:[FormGroupComponent],\n  template: `\n    <form #form=\"ngForm\">\n\n      <form-group-component></form-group-component>  \n\n      <fieldset ngModelGroup=\"address\">\n        <div>\n          <label>Street:</label>\n          <input type=\"text\" name=\"street\" ngModel>\n        </div>\n        <div>\n          <label>Zip:</label>\n          <input type=\"text\" name=\"zip\" ngModel>\n        </div>\n        <div>\n          <label>City:</label>\n          <input type=\"text\" name=\"city\" ngModel>\n        </div>\n      </fieldset>\n\n    </form>\n  `\n})\nexport class FormComponent {\n\n\n}\n\n```\n\nSo after cutting one of the feildsets and loading it inside a seperate directive , it won't work anymore!,\n\nThere are couple of closed issues , but non of them is working.\n\n[This](https://github.com/mgechev/angular2-seed/issues/399) and [This](https://github.com/angular/angular/issues/6374)\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/259264947","html_url":"https://github.com/angular/angular/issues/11174#issuecomment-259264947","issue_url":"https://api.github.com/repos/angular/angular/issues/11174","id":259264947,"user":{"login":"bob-lee","id":4355696,"avatar_url":"https://avatars.githubusercontent.com/u/4355696?v=3","gravatar_id":"","url":"https://api.github.com/users/bob-lee","html_url":"https://github.com/bob-lee","followers_url":"https://api.github.com/users/bob-lee/followers","following_url":"https://api.github.com/users/bob-lee/following{/other_user}","gists_url":"https://api.github.com/users/bob-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/bob-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bob-lee/subscriptions","organizations_url":"https://api.github.com/users/bob-lee/orgs","repos_url":"https://api.github.com/users/bob-lee/repos","events_url":"https://api.github.com/users/bob-lee/events{/privacy}","received_events_url":"https://api.github.com/users/bob-lee/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T21:27:35Z","updated_at":"2016-11-08T21:27:35Z","body":"@CSchulz I am with you. It took a while for me to make template-driven way to work, still feels like hack.. Hopefully I maybe missing something or better support on template-driven way comes up. Meanwhile I would choose model-driven way."}}
{"actor":{"display_login":"bob-lee"}}