Create a custome directive for edit Attribute options