Directive to set the text direction (LTR/RTL) and apply corresponding CSS classes based on the locale. The directive uses LocaleService to get the current locale. The locale can be overridden by setting the locale input. The directive will add the dir attribute to the element with the value rtl or ltr based on the locale. The directive will add the CSS class specified in the rtlCssClass input when the locale is RTL. The directive will add the CSS class specified in the ltrCssClass input when the locale is LTR.

Constructors

Accessors