exported from <a href='../forms'>angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.32/modules/angular2/src/forms/directives/ng_control_group.ts#L12-L74">angular2/src/forms/directives/ng_control_group.ts (line 12)</a>
:markdown
Creates and binds a control group to a DOM element.
This directive can only be used as a child of <a href='NgForm-class.html'><code>NgForm</code></a> or <a href='NgFormModel-class.html'><code>NgFormModel</code></a>.
# Example
In this example, we create the credentials and personal control groups.
We can work with each group separately: check its validity, get its value, listen to its changes.