i18next / ng-i18next

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

fix(directive): fix bug with defaultValue #57

Closed efolio closed 10 years ago

efolio commented 10 years ago

If i18nextLanguageChange event is broadcasted before $observe is triggered in the directive, then localize() was called with an undefined key which makes it fail.

bugwelle commented 10 years ago

:+1: