change names in services
This commit is contained in:
parent
ac58d9744e
commit
77f6a8221a
20 changed files with 53 additions and 59 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllerUtils')
|
||||
angular.module('copayApp.services')
|
||||
.factory('controllerUtils', function($rootScope, $sce, $location, $notification, Socket, video) {
|
||||
var root = {};
|
||||
var bitcore = require('bitcore');
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.passphrase').value('Passphrase', new copay.Passphrase(config.passphrase));
|
||||
angular.module('copayApp.services')
|
||||
.value('Passphrase', new copay.Passphrase(config.passphrase));
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.socket').factory('Socket',
|
||||
angular.module('copayApp.services').factory('Socket',
|
||||
function($rootScope) {
|
||||
var listeners = [];
|
||||
var url = 'http://' + config.socket.host + ':' + config.socket.port;
|
||||
|
|
|
|||
|
|
@ -93,4 +93,4 @@ Video.prototype.close = function() {
|
|||
this.mediaConnections = {};
|
||||
};
|
||||
|
||||
angular.module('copayApp.video').value('video', new Video());
|
||||
angular.module('copayApp.services').value('video', new Video());
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.walletFactory').value('walletFactory', new copay.WalletFactory(config, copay.version));
|
||||
angular.module('copayApp.services').value('walletFactory', new copay.WalletFactory(config, copay.version));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue