setup watcher for ng-required attribute