Merge pull request #174 from cmgustavo/feature/01-test-directives
Testing directives for AngularJS
This commit is contained in:
commit
e2f40ad7f5
3 changed files with 64 additions and 2 deletions
|
|
@ -13,7 +13,8 @@ var copayApp = window.copayApp = angular.module('copay',[
|
|||
'copay.signin',
|
||||
'copay.socket',
|
||||
'copay.controllerUtils',
|
||||
'copay.setup'
|
||||
'copay.setup',
|
||||
'copay.directives'
|
||||
]);
|
||||
|
||||
angular.module('copay.header', []);
|
||||
|
|
@ -26,4 +27,5 @@ angular.module('copay.controllerUtils', []);
|
|||
angular.module('copay.signin', []);
|
||||
angular.module('copay.setup', []);
|
||||
angular.module('copay.socket', []);
|
||||
angular.module('copay.directives', []);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copay')
|
||||
angular.module('copay.directives')
|
||||
.directive('validAddress', [function() {
|
||||
|
||||
var bitcore = require('bitcore');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue