Create availableBalance directive for Send screen

..so it can be decorated by addon.
This commit is contained in:
Kosta Korenkov 2015-09-03 14:44:50 +03:00
commit ea03b87a7e
3 changed files with 23 additions and 15 deletions

View file

@ -316,4 +316,11 @@ angular.module('copayApp.directives')
replace: true,
template: '<img ng-src="{{ logo_url }}" alt="Copay">'
}
})
.directive('availableBalance', function() {
return {
restrict: 'E',
replace: true,
templateUrl: 'views/includes/available-balance.html'
}
});