dhoko/ngBabelfish — pull request #20 by dhoko (2014-07-08 07:17:47+00:00)
Title: Add events when we update the state

Upgrade events:

- i18n:babelfish:changed will be: **ngBabelfish.translation:changed**
- new event **ngBabelfish.translation:loaded**

Params for *ngBabelfish.translation.loaded*:

```JavaScript
$rootScope.$emit('ngBabelfish.translation:loaded', {
currentState: page,
lang: lang
});
```

- currentState: Your current state
- lang: current language