feat(invite): small progress

This commit is contained in:
Torkel Ödegaard
2015-07-17 14:42:49 +02:00
parent 0ffcce1b5d
commit 2724cf5db8
7 changed files with 36 additions and 12 deletions

View File

@@ -44,10 +44,15 @@ function (angular) {
};
$scope.openInviteModal = function() {
var modalScope = $scope.$new();
modalScope.invitesSent = function() {
$scope.get();
};
$scope.appEvent('show-modal', {
src: './app/features/org/partials/invite.html',
modalClass: 'modal-no-header invite-modal',
scope: $scope.$new()
scope: modalScope
});
};