fix(selector): the required attribute should properly work with ng-required