p.
exported from angular2/forms
defined in angular2/src/forms/directives.js (line 210)
:markdown
Binds a control group to a DOM element.
# Example
In this example, we bind the control group to the form element, and we bind the login and password controls to the
login and password elements.
Here we use FormDirectives
, rather than importing each form directive individually, e.g.
`ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result.
```
@Component({selector: "login-comp"})
@View({
directives: [FormDirectives],
inline: "