change name to Encrypted

This commit is contained in:
Matias Alejo Garcia 2014-09-01 15:40:31 -03:00
commit 2849f773e2
8 changed files with 66 additions and 49 deletions

View file

@ -37,9 +37,17 @@ var modules = [
'copayApp.directives',
];
if (config.plugins.googleDrive)
if (config.plugins.length)
modules.push('angularLoad');
if (config.plugins.googleDrive) {
var googleDrive = require('../plugins/googleDrive');
var a = new googleDrive();
a.init();
console.log('[app.js.41:new:]',a); //TODO
}
var copayApp = window.copayApp = angular.module('copayApp', modules);
copayApp.config(function($sceDelegateProvider) {