i have a form with multiple textbox and check box controls .. i need to put conditional validation for that in angular 4.
when i checked a checkbox based on that some text box's enabled ..so when i checked a check box i need to put required validation's for enabled text box's 
this is my code ..
 
Device Name is required