Using placeholder to calculate width if there's no text

I think the directive should take into account the input's placeholder when it has no text. In my application, it was impossible to read the placeholder because this limitation.