Added required check so that ngRequired can be properly honored, especially if it's dynamic