Skip to content

Commit

Permalink
step-29 - wire up thank-you view
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar authored and vojtajina committed Nov 27, 2012
1 parent 7956cfa commit 8e15f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/js/controllers/ThankYouController.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';

foodMeApp.controller('ThankYouController', function ThankYouController() {

foodMeApp.controller('ThankYouController', function ThankYouController($scope, $routeParams) {
$scope.orderId = $routeParams.orderId;
});
2 changes: 1 addition & 1 deletion app/views/thank-you.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ <h1>Thank you for your order!</h1>

<p>Our chefs are getting your food ready. It will be on its way shortly.</p>

<p>Your order ID is 123456789.</p>
<p>Your order ID is {{orderId}}.</p>
</div>

0 comments on commit 8e15f0c

Please sign in to comment.