Wallet/src/js/controllers/backup.js

13 lines
394 B
JavaScript
Raw Normal View History

2015-03-06 12:00:10 -03:00
'use strict';
angular.module('copayApp.controllers').controller('wordsController',
function($rootScope, $scope, $timeout, profileService, go, gettext) {
this.getMnemonic = function() {
2015-03-06 12:00:10 -03:00
var fc = profileService.focusedClient;
var words = fc.getMnemonic();
console.log('[backup.js.7:words:]',words); //TODO
if (!words) return;
return words.split(' ');
2015-03-06 12:00:10 -03:00
};
});