Create order page

This commit is contained in:
Ben Ramey
2014-03-14 11:57:59 -05:00
parent 6f3d47ff6e
commit da466969ba
7 changed files with 1373 additions and 6 deletions

View File

@@ -13,8 +13,9 @@ lunchApp.config ['$routeProvider',
.when '/run/:id',
templateUrl: 'templates/run.html',
controller: 'RunCtrl'
.otherwise
redirectTo: '/'
.when '/run/:id/order/:inviteeName',
templateUrl: 'templates/create-order.html',
controller: 'CreateOrderCtrl'
]
lunchApp.config ['$locationProvider',