This commit is contained in:
StefanSchoof
2014-04-29 07:54:11 +02:00
parent 41073b2393
commit a55232a29a

View File

@@ -24,6 +24,6 @@ interface Scope extends ng.IScope {
app.controller('Ctrl', ($scope: Scope, $translate: ng.translate.ITranslateService) => {
$scope['changeLanguage'] = function (key: any) {
$translate.uses(key);
$translate.use(key);
};
});