Commit bab049fb987734616e02140d0fac4e0a12319f8f
1 parent
dee1f7479d
Exists in
master
and in
1 other branch
city issue solve
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
script.js
... | ... | @@ -24,7 +24,7 @@ |
24 | 24 | // }) |
25 | 25 | |
26 | 26 | // route for the registration page |
27 | - .when('/registration', { | |
27 | + .when('/registration/:city', { | |
28 | 28 | templateUrl: 'pages/registration.html', |
29 | 29 | controller: 'registrationController' |
30 | 30 | }) |
... | ... | @@ -95,7 +95,7 @@ |
95 | 95 | $scope.data.city = value; |
96 | 96 | localStorage.setItem("city" ,value); |
97 | 97 | //$location.path('/registration').search({city: value}); |
98 | - $location.path('/registration'); | |
98 | + $location.path('/registration/'+value+''); | |
99 | 99 | //$state.go('registration', { 'city': value}) |
100 | 100 | } |
101 | 101 | |
... | ... | @@ -430,8 +430,8 @@ |
430 | 430 | var i = 0; |
431 | 431 | $scope.payingAmnt = $scope.payingAmnt * 100; |
432 | 432 | var options = { |
433 | - //"key": "rzp_test_YwHsVFiDIQ2WUQ", | |
434 | - "key": "rzp_live_mkmCb4FkstuWaS", | |
433 | + "key": "rzp_test_YwHsVFiDIQ2WUQ", | |
434 | + //"key": "rzp_live_mkmCb4FkstuWaS", | |
435 | 435 | "amount": $scope.payingAmnt, |
436 | 436 | |
437 | 437 | "name": "Startup Jalsa", | ... | ... |