p.location-badge.
exported from <a href='../forms'>angular2/forms</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.33/modules/angular2/src/forms/directives/validators.ts#L11-L19">angular2/src/forms/directives/validators.ts (line 11)</a>
:markdown
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation Directive
pre.prettyprint
code.
@Directive({
selector: '[required][ng-control],[required][ng-form-control],[required][ng-model]',
bindings: [requiredValidatorBinding]
})
h2 Members
h3 validator