docs
angular
Validators
Fullname
import { fullNameValidator } from "@burand/angular";
 
@Component({
  ...
})
export class RegisterComponent implements OnInit {
  ngOnInit() {
    this.form = this.formBuilder.group({
      name: [null, Validators.required],
      fullName: [null, [Validators.required, fullNameValidator]],
      password: [null, Validators.required],
    });
  }
}