Afshar Afshar - 2 years ago 279
AngularJS Question

How to use i18n with material design's md-floating-label?

I need to make the label inside md-floating-label editable, so that for different locales we can have different texts. But i am not able to figure out how as i am quite new to Material-Design.

I am using md-floating-label attribute with


Answer Source

If you use angular translate : it's easy, ou will just have to replace it by a key.

md-floating-label="{'label' | translate}}"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download