use scope only
This commit is contained in:
parent
66fc3fe416
commit
e58ac3bd58
2 changed files with 7 additions and 12 deletions
|
|
@ -1,16 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesLanguageController',
|
||||
function($scope, $log, $timeout, configService, profileService, uxLanguage, walletService, go) {
|
||||
function($scope, $log, configService, profileService, uxLanguage, walletService, go) {
|
||||
|
||||
this.init = function() {
|
||||
this.availableLanguages = uxLanguage.getLanguages();
|
||||
$scope.data = {
|
||||
currentLanguage: uxLanguage.getCurrentLanguage()
|
||||
};
|
||||
};
|
||||
$scope.availableLanguages = uxLanguage.getLanguages();
|
||||
$scope.currentLanguage = uxLanguage.getCurrentLanguage();
|
||||
|
||||
this.save = function(newLang) {
|
||||
$scope.save = function(newLang) {
|
||||
var opts = {
|
||||
wallet: {
|
||||
settings: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue