Adding static method to get valid options from a directive