Get current language with angular-translate

angular-translate, angularjs

Solution

`$translate.use()` is a getter and setter.

See this demo found in links of docs:

http://jsfiddle.net/PascalPrecht/eUGWJ/7/

Problem

Is there a way to get the current used language in a controller (without `$translateProvider`)? Couldn't find anything in the `$translate` service.

Original source