It ads pattern validator to any control that is using pattern attribute. Get data from a server. In your template be sure to add your child form group. We use Angular FormBuilder to create a FormGroup object (form property) which is then bound to the template