Suppose we\'re building an address book application (contrived example) with AngularJS.
We have a form for contacts that has inputs for email and phone number, and w
Simple you can use angular validation like :
You can now fill the value in only one text field. Either you can fill name or lastname. In this way you can use conditional required fill in AngularJs.