Merge pull request #1917 from matiu/ref/localstorage
reuse LocalStorage plugin
This commit is contained in:
commit
b3b0d7903e
2 changed files with 17 additions and 7 deletions
9
js/services/localstorageService.js
Normal file
9
js/services/localstorageService.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
angular.module('copayApp.services')
|
||||
.factory('localstorageService', function($rootScope) {
|
||||
var LS = require('../plugins/LocalStorage');
|
||||
var ls = new LS();
|
||||
return ls;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue