make wallet selector a standalone directive

This commit is contained in:
Marty Alcala 2016-10-12 20:13:28 -04:00
commit ec3fca4cda
8 changed files with 132 additions and 102 deletions

View file

@ -10,11 +10,6 @@ angular.module('copayApp.directives')
show: '=actionSheetShow',
},
link: function(scope, element, attrs) {
console.log('action sheet instantiated');
scope.$watch('show', function() {
console.log('show called', scope.show);
});
scope.hide = function() {
scope.show = false;
};