{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/13520","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/13520/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/13520/comments","events_url":"https://api.github.com/repos/angular/angular/issues/13520/events","html_url":"https://github.com/angular/angular/issues/13520","id":196050352,"number":13520,"title":"Unhandled Promise Rejection: Template parse errors: ","user":{"login":"steady-daddy","id":2090011,"avatar_url":"https://avatars.githubusercontent.com/u/2090011?v=3","gravatar_id":"","url":"https://api.github.com/users/steady-daddy","html_url":"https://github.com/steady-daddy","followers_url":"https://api.github.com/users/steady-daddy/followers","following_url":"https://api.github.com/users/steady-daddy/following{/other_user}","gists_url":"https://api.github.com/users/steady-daddy/gists{/gist_id}","starred_url":"https://api.github.com/users/steady-daddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steady-daddy/subscriptions","organizations_url":"https://api.github.com/users/steady-daddy/orgs","repos_url":"https://api.github.com/users/steady-daddy/repos","events_url":"https://api.github.com/users/steady-daddy/events{/privacy}","received_events_url":"https://api.github.com/users/steady-daddy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-16T12:37:05Z","updated_at":"2016-12-16T15:27:35Z","closed_at":"2016-12-16T15:27:35Z","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING\r\n-->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n\r\n[x ] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n\r\n\r\n**Current behavior**\r\nUsing FormBuilder Component \r\n\r\n**Expected behavior**\r\nShould build form with the provided fields\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nThe code at the bottom was used which produces this error.\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n<!-- Describe the motivation or the concrete use case -->\r\nTo create a sign up form\r\n\r\n**Please tell us about your environment:**\r\n**OS:** Windows 7\r\n**IDE:** WebStorm\r\n**PM:** Webpack\r\nThis is a angular-cli project\r\n\r\n* **Angular version:** **2.1.1**\r\n\r\n* **Browser:** \r\n**Chrome:** Version 55.0.2883.87 m (64-bit)\r\n**Firefox Developer Edition:** 45.0a2 (2015-12-23)\r\n* **Language:** \r\n\"typescript\": \"~2.0.3\"\r\n\r\n* **Node (for AoT issues):** `node --version` =   \r\nv6.9.1\r\n\r\n**ERROR**\r\n```\r\nUnhandled Promise rejection:\r\n\r\nTemplate parse errors:\r\nCan't bind to 'formGroup' since it isn't a known property of 'form'. (\"\r\n\r\n          <div class=\"card\">\r\n              <form [ERROR ->][formGroup]=\"signupForm\" (ngSubmit)=\"submitForm(signupForm.value)\" class=\"form\">\r\n\r\n```\r\n**CODE**\r\n\r\n**Component**\r\n\r\n```\r\nimport {Component, OnInit, Inject} from '@angular/core';\r\nimport {FormBuilder, FormGroup, Validators} from '@angular/forms';\r\n\r\n@Component({\r\n  templateUrl: './checkup.component.html',\r\n})\r\nexport class CheckupComponent implements OnInit {\r\n\r\n  signupForm: FormGroup;\r\n  constructor(@Inject(FormBuilder) fb: FormBuilder) {\r\n    this.signupForm = fb.group({\r\n      firstName : '',\r\n      lastName  : '',\r\n      email     : '',\r\n      avatar    : '',\r\n      age       : '',\r\n      hometown  : '',\r\n      gender    : ''\r\n\r\n    });\r\n  }\r\n\r\n}\r\n\r\n```\r\n**Template Snippet:**\r\n```\r\n<form [formGroup]=\"signupForm\" (ngSubmit)=\"submitForm(signupForm.value)\" class=\"form\">\r\n...\r\n</form>\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/267618588","html_url":"https://github.com/angular/angular/issues/13520#issuecomment-267618588","issue_url":"https://api.github.com/repos/angular/angular/issues/13520","id":267618588,"user":{"login":"pkozlowski-opensource","id":973550,"avatar_url":"https://avatars.githubusercontent.com/u/973550?v=3","gravatar_id":"","url":"https://api.github.com/users/pkozlowski-opensource","html_url":"https://github.com/pkozlowski-opensource","followers_url":"https://api.github.com/users/pkozlowski-opensource/followers","following_url":"https://api.github.com/users/pkozlowski-opensource/following{/other_user}","gists_url":"https://api.github.com/users/pkozlowski-opensource/gists{/gist_id}","starred_url":"https://api.github.com/users/pkozlowski-opensource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkozlowski-opensource/subscriptions","organizations_url":"https://api.github.com/users/pkozlowski-opensource/orgs","repos_url":"https://api.github.com/users/pkozlowski-opensource/repos","events_url":"https://api.github.com/users/pkozlowski-opensource/events{/privacy}","received_events_url":"https://api.github.com/users/pkozlowski-opensource/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T15:27:35Z","updated_at":"2016-12-16T15:27:35Z","body":"Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on [StackOverflow](http://stackoverflow.com/) using tag `angular`.\r\n\r\nIf you are wondering why we don't resolve support issues via the issue tracker, please [check out this explanation](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-got-a-question-or-problem)."}}
{"actor":{"display_login":"pkozlowski-opensource"}}