added regex validation field and angular directive for tiejs