ef-hexadecimal Angular A link attribute directive ef-hexadecimal which will check and restrict user to enter non hexadecimal format characters. <input type="text" ef-hexadecimal ng-model="myNumber" min="0" max="255" digits="2">