add ng-required support