would prefer moving all such validations to a method in the controller, so any ng-show/hide should only call a functions that returns a boolean value