Closed hthabet closed 10 years ago
after setting the language, it's useful to have an event after loading the data
function setTranslation(page) { ... $rootScope.$emit("i18n:babelfish:loaded"); }
Upgrade events:
Params for ngBabelfish.translation.loaded:
$rootScope.$emit('ngBabelfish.translation:loaded', { currentState: page, lang: lang });
after setting the language, it's useful to have an event after loading the data