Angular 2Angular2 Custom Validations

Parameters

parameterdescription
controlThis is the control that is being validated. Typically you will want to see if control.value meets some criteria.