i18next / ng-i18next

translation for AngularJS using i18next
https://github.com/i18next/ng-i18next
MIT License
161 stars 54 forks source link

Take into account [html]key.path #2

Closed julien51 closed 11 years ago

julien51 commented 11 years ago

i18next allows for more complex values for ng-i18n such as [html]key.path which will proceed to an injection of unescaped HTML rather than escaped as text. It also allows for [attr]key.path to setup an attribute's value rather than the content. (this is may be useful for title on links or alt on images).