Completed edit run functionality

This commit is contained in:
Ben Ramey
2014-07-04 13:51:27 -05:00
parent 65a3d36cd2
commit 1316b58ab2
6 changed files with 39 additions and 16 deletions

View File

@@ -8,7 +8,8 @@ lunchControllers.controller 'CreateRunCtrl', ['$scope', '$http', '$location', 's
$scope.addInvitee = () ->
$scope.invitees.push {}
$scope.removeInvitee = (index) ->
$scope.removeInvitee = (invitee) ->
index = $scope.invitees.indexOf invitee
$scope.invitees.splice index, 1
$scope.create = (run,invitees) ->