Recently I faced an requirement where I have to plugin
ng-message validation which depends on value of other input field means if value of field A is given then only field B is mandatory. For example, if user is providing phone no then email is not mandatory else email is mandatory.
Yes we can achieve this in a very simple and straight forward way. Lets see how.