Eg. assume that we have form with zip-code field. Requirement is that max-length is 10, required, and for some counteries we use some regexp... So max-length and required is easy but what about zip-code pattern? We have another select where user checks country... How to validate zip-code filed based on value of antoher field in best way? :)
of course we could write directive and in it's scope watch for changes in model of countries and validate code when it changes but if there is more elegant way to do this?