Commit 857ebc69eb695dfe0848858afcda2fe4876d37d4

Authored by Palak Handa
1 parent bfa751180f
Exists in master and in 1 other branch paytm

timer add

Showing 2 changed files with 28 additions and 24 deletions   Show diff stats
pages/caricatures.html
1 <div class="col-xs-12 col-md-10 col-md-offset-1"> 1 <div class="col-xs-12 col-md-10 col-md-offset-1">
2 <div class="stage-shadow" id="front"> 2 <div class="stage-shadow" id="front">
3 <div class="stages card-align"> 3 <div class="stages card-align">
4 <div class="row"> 4 <div class="row">
5 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 5 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
6 <div class="card" style="width:100%;border-radius: 6px;"> 6 <div class="card" style="width:100%;border-radius: 6px;">
7 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 7 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
8 <img class="card-img-top" src="images/chennai.png" style="width:100%"> 8 <img class="card-img-top" src="images/chennai.png" style="width:100%">
9 <div class="card-block"> 9 <div class="card-block">
10 <div class="pull-left"> 10 <div class="pull-left">
11 <label class="card-title">Chennai</label><br> 11 <label class="card-title">Chennai</label><br>
12 <label class="card-sub-title">Thursday</label> 12 <label class="card-sub-title">Thursday</label>
13 </div> 13 </div>
14 <div class="pull-right"> 14 <div class="pull-right">
15 <label class="card-sub-title"><i class="material-icons">location_on</i> 15 <label class="card-sub-title"><i class="material-icons">location_on</i>
16 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Madras</span><br> 16 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Madras</span><br>
17 <span style="color:red;padding-left: 20%;"></span> 17 <span style="color:red;padding-left: 20%;">Closed</span>
18 </label> 18 </label>
19 </div> 19 </div>
20 <div class="clearfix"></div> 20 <div class="clearfix"></div>
21 <label class="card-sub-title">Sept 20, 2018</label> 21 <label class="card-sub-title">Sept 20, 2018</label>
22 </div> 22 </div>
23 </label> 23 </label>
24 <div class="clearfix"></div> 24 <div class="clearfix"></div>
25 <div class="card-text2"> 25 <div class="card-text2">
26 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/chennai/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> 26 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/chennai/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button>
27 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Chennai')">Select</button> 27 <!-- <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Chennai')">Select</button> -->
28 </div> 28 </div>
29 </div> 29 </div>
30 </div> 30 </div>
31 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 31 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
32 <div class="card" style="width:100%;border-radius: 6px;"> 32 <div class="card" style="width:100%;border-radius: 6px;">
33 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 33 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
34 <img class="card-img-top" src="images/hydrabad.png" style="width:100%"> 34 <img class="card-img-top" src="images/hydrabad.png" style="width:100%">
35 <div class="card-block"> 35 <div class="card-block">
36 <div class="pull-left"> 36 <div class="pull-left">
37 <label class="card-title">Hyderabad</label><br> 37 <label class="card-title">Hyderabad</label><br>
38 <label class="card-sub-title">Saturday</label> 38 <label class="card-sub-title">Saturday</label>
39 </div> 39 </div>
40 <div class="pull-right"> 40 <div class="pull-right">
41 <label class="card-sub-title"><i class="material-icons">location_on</i> 41 <label class="card-sub-title"><i class="material-icons">location_on</i>
42 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Hyderabad</span><br> 42 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Hyderabad</span><br>
43 <span id="hyderabad" style="color:red;padding-left: 23%;"></span>* 43 <span id="hyderabad" style="color:red;padding-left: 23%;"></span>*
44 </label> 44 </label>
45 </div> 45 </div>
46 <div class="clearfix"></div> 46 <div class="clearfix"></div>
47 <label class="card-sub-title">Sept 22, 2018</label> 47 <label class="card-sub-title">Sept 22, 2018</label>
48 </div> 48 </div>
49 </label> 49 </label>
50 <div class="clearfix"></div> 50 <div class="clearfix"></div>
51 <div class="card-text2"> 51 <div class="card-text2">
52 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/hyderabad/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> 52 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/hyderabad/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button>
53 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Hyderabad')" >Select</button> 53 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Hyderabad')" >Select</button>
54 </div> 54 </div>
55 </div> 55 </div>
56 </div> 56 </div>
57 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 57 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
58 <div class="card" style="width:100%;border-radius: 6px;"> 58 <div class="card" style="width:100%;border-radius: 6px;">
59 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 59 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
60 <img class="card-img-top" src="images/mumbai.png" style="width:100%"> 60 <img class="card-img-top" src="images/mumbai.png" style="width:100%">
61 <div class="card-block"> 61 <div class="card-block">
62 <div class="pull-left"> 62 <div class="pull-left">
63 <label class="card-title">Mumbai</label><br> 63 <label class="card-title">Mumbai</label><br>
64 <label class="card-sub-title">Wednesday</label> 64 <label class="card-sub-title">Wednesday</label>
65 </div> 65 </div>
66 <div class="pull-right"> 66 <div class="pull-right">
67 <label class="card-sub-title"><i class="material-icons">location_on</i> 67 <label class="card-sub-title"><i class="material-icons">location_on</i>
68 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Bombay</span><br> 68 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Bombay</span><br>
69 <span id="mumbai" style="color:red;"></span>* 69 <span id="mumbai" style="color:red;"></span>*
70 </label> 70 </label>
71 </div> 71 </div>
72 <div class="clearfix"></div> 72 <div class="clearfix"></div>
73 <label class="card-sub-title">Sept 26, 2018</label> 73 <label class="card-sub-title">Sept 26, 2018</label>
74 </div> 74 </div>
75 </label> 75 </label>
76 <div class="clearfix"></div> 76 <div class="clearfix"></div>
77 <div class="card-text2"> 77 <div class="card-text2">
78 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/mumbai/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> 78 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/mumbai/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button>
79 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Mumbai')">Select</button> 79 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Mumbai')">Select</button>
80 </div> 80 </div>
81 </div> 81 </div>
82 </div> 82 </div>
83 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 83 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
84 <div class="card" style="width:100%;border-radius: 6px;"> 84 <div class="card" style="width:100%;border-radius: 6px;">
85 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 85 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
86 <img class="card-img-top" src="images/kolkata.png" style="width:100%"> 86 <img class="card-img-top" src="images/kolkata.png" style="width:100%">
87 <div class="card-block"> 87 <div class="card-block">
88 <div class="pull-left"> 88 <div class="pull-left">
89 <label class="card-title">Kolkata</label><br> 89 <label class="card-title">Kolkata</label><br>
90 <label class="card-sub-title">Wednesday</label> 90 <label class="card-sub-title">Wednesday</label>
91 </div> 91 </div>
92 <div class="pull-right"> 92 <div class="pull-right">
93 <label class="card-sub-title"><i class="material-icons">location_on</i> 93 <label class="card-sub-title"><i class="material-icons">location_on</i>
94 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Calcutta</span><br> 94 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Calcutta</span><br>
95 <span id="kolkata" style="color:red;"></span>* 95 <span id="kolkata" style="color:red;"></span>*
96 </label> 96 </label>
97 </div> 97 </div>
98 <div class="clearfix"></div> 98 <div class="clearfix"></div>
99 <label class="card-sub-title">Oct 3, 2018</label> 99 <label class="card-sub-title">Oct 3, 2018</label>
100 </div> 100 </div>
101 </label> 101 </label>
102 <div class="clearfix"></div> 102 <div class="clearfix"></div>
103 <div class="card-text2"> 103 <div class="card-text2">
104 <!-- <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('')" >Highlight</button> --> 104 <!-- <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('')" >Highlight</button> -->
105 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Kolkata')" >Select</button> 105 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Kolkata')" >Select</button>
106 </div> 106 </div>
107 </div> 107 </div>
108 </div> 108 </div>
109 </div> 109 </div>
110 </div> 110 </div>
111 <div class="clearfix"></div> 111 <div class="clearfix"></div>
112 <div class="stages card-align"> 112 <div class="stages card-align">
113 <div class="row"> 113 <div class="row">
114 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 114 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
115 <div class="card" style="width:100%;border-radius: 6px;"> 115 <div class="card" style="width:100%;border-radius: 6px;">
116 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 116 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
117 <img class="card-img-top" src="images/jaipur.png" style="width:100%"> 117 <img class="card-img-top" src="images/jaipur.png" style="width:100%">
118 <div class="card-block"> 118 <div class="card-block">
119 <div class="pull-left"> 119 <div class="pull-left">
120 <label class="card-title">Jaipur</label><br> 120 <label class="card-title">Jaipur</label><br>
121 <label class="card-sub-title">Friday</label> 121 <label class="card-sub-title">Friday</label>
122 </div> 122 </div>
123 <div class="pull-right"> 123 <div class="pull-right">
124 <label class="card-sub-title"><i class="material-icons">location_on</i> 124 <label class="card-sub-title"><i class="material-icons">location_on</i>
125 <span style="position: relative;top: -3px;font-size: 17px;">Startup Oasis</span><br> 125 <span style="position: relative;top: -3px;font-size: 17px;">Startup Oasis</span><br>
126 <span id="jaipur" style="color:red;padding-left: 17%;"></span>* 126 <span id="jaipur" style="color:red;padding-left: 17%;"></span>*
127 </label> 127 </label>
128 </div> 128 </div>
129 <div class="clearfix"></div> 129 <div class="clearfix"></div>
130 <label class="card-sub-title">Oct 5, 2018</label> 130 <label class="card-sub-title">Oct 5, 2018</label>
131 </div> 131 </div>
132 </label> 132 </label>
133 <div class="clearfix"></div> 133 <div class="clearfix"></div>
134 <div class="card-text2"> 134 <div class="card-text2">
135 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/jaipur/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> 135 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/jaipur/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button>
136 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Jaipur')" >Select</button> 136 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Jaipur')" >Select</button>
137 </div> 137 </div>
138 </div> 138 </div>
139 </div> 139 </div>
140 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 140 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
141 <div class="card" style="width:100%;border-radius: 6px;"> 141 <div class="card" style="width:100%;border-radius: 6px;">
142 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 142 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
143 <img class="card-img-top" src="images/delhi.png" style="width:100%"> 143 <img class="card-img-top" src="images/delhi.png" style="width:100%">
144 <div class="card-block"> 144 <div class="card-block">
145 <div class="pull-left"> 145 <div class="pull-left">
146 <label class="card-title">Delhi</label><br> 146 <label class="card-title">Delhi</label><br>
147 <label class="card-sub-title">Monday</label> 147 <label class="card-sub-title">Monday</label>
148 </div> 148 </div>
149 <div class="pull-right"> 149 <div class="pull-right">
150 <label class="card-sub-title"><i class="material-icons">location_on</i> 150 <label class="card-sub-title"><i class="material-icons">location_on</i>
151 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Delhi</span><br> 151 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Delhi</span><br>
152 <span id="delhi" style="color:red;"></span>* 152 <span id="delhi" style="color:red;"></span>*
153 </label> 153 </label>
154 </div> 154 </div>
155 <div class="clearfix"></div> 155 <div class="clearfix"></div>
156 <label class="card-sub-title">Oct 8, 2018</label> 156 <label class="card-sub-title">Oct 8, 2018</label>
157 </div> 157 </div>
158 </label> 158 </label>
159 <div class="clearfix"></div> 159 <div class="clearfix"></div>
160 <div class="card-text2"> 160 <div class="card-text2">
161 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/delhi/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> 161 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/delhi/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button>
162 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Delhi')" >Select</button> 162 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Delhi')" >Select</button>
163 </div> 163 </div>
164 </div> 164 </div>
165 </div> 165 </div>
166 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 166 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
167 <div class="card" style="width:100%;border-radius: 6px;"> 167 <div class="card" style="width:100%;border-radius: 6px;">
168 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 168 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
169 <img class="card-img-top" src="images/kanpur.png" style="width:100%"> 169 <img class="card-img-top" src="images/kanpur.png" style="width:100%">
170 <div class="card-block"> 170 <div class="card-block">
171 <div class="pull-left"> 171 <div class="pull-left">
172 <label class="card-title">Kanpur</label><br> 172 <label class="card-title">Kanpur</label><br>
173 <label class="card-sub-title">Wednesday</label> 173 <label class="card-sub-title">Wednesday</label>
174 </div> 174 </div>
175 <div class="pull-right"> 175 <div class="pull-right">
176 <label class="card-sub-title"><i class="material-icons">location_on</i> 176 <label class="card-sub-title"><i class="material-icons">location_on</i>
177 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Kanpur</span><br> 177 <span style="position: relative;top: -3px;font-size: 17px;">IIT-Kanpur</span><br>
178 <span id="kanpur" style="color:red;"></span>* 178 <span id="kanpur" style="color:red;"></span>*
179 </label> 179 </label>
180 </div> 180 </div>
181 <div class="clearfix"></div> 181 <div class="clearfix"></div>
182 <label class="card-sub-title">Oct 10, 2018</label> 182 <label class="card-sub-title">Oct 10, 2018</label>
183 </div> 183 </div>
184 </label> 184 </label>
185 <div class="clearfix"></div> 185 <div class="clearfix"></div>
186 <div class="card-text2"> 186 <div class="card-text2">
187 <!-- <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('')" >Highlight</button> --> 187 <!-- <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('')" >Highlight</button> -->
188 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Kanpur')" >Select</button> 188 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Kanpur')" >Select</button>
189 </div> 189 </div>
190 </div> 190 </div>
191 </div> 191 </div>
192 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 192 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
193 <div class="card" style="width:100%;border-radius: 6px;"> 193 <div class="card" style="width:100%;border-radius: 6px;">
194 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 194 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
195 <img class="card-img-top" src="images/ahmedabad.png" style="width:100%"> 195 <img class="card-img-top" src="images/ahmedabad.png" style="width:100%">
196 <div class="card-block"> 196 <div class="card-block">
197 <div class="pull-left"> 197 <div class="pull-left">
198 <label class="card-title">Ahmedabad</label><br> 198 <label class="card-title">Ahmedabad</label><br>
199 <label class="card-sub-title">Friday</label> 199 <label class="card-sub-title">Friday</label>
200 </div> 200 </div>
201 <div class="pull-right"> 201 <div class="pull-right">
202 <label class="card-sub-title"><i class="material-icons">location_on</i> 202 <label class="card-sub-title"><i class="material-icons">location_on</i>
203 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span><br> 203 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span><br>
204 <span id="ahmedabad" style="color:red;padding-left: 18%;"></span>* 204 <span id="ahmedabad" style="color:red;padding-left: 18%;"></span>*
205 </label> 205 </label>
206 </div> 206 </div>
207 <div class="clearfix"></div> 207 <div class="clearfix"></div>
208 <label class="card-sub-title">Oct 12, 2018</label> 208 <label class="card-sub-title">Oct 12, 2018</label>
209 </div> 209 </div>
210 </label> 210 </label>
211 <div class="clearfix"></div> 211 <div class="clearfix"></div>
212 <div class="card-text2"> 212 <div class="card-text2">
213 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/ahmedabad/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> 213 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/ahmedabad/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button>
214 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Ahmedabad')" >Select</button> 214 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Ahmedabad')" >Select</button>
215 </div> 215 </div>
216 </div> 216 </div>
217 </div> 217 </div>
218 </div> 218 </div>
219 </div> 219 </div>
220 <div class="clearfix"></div> 220 <div class="clearfix"></div>
221 <div class="stages card-align"> 221 <div class="stages card-align">
222 <div class="row"> 222 <div class="row">
223 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 223 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
224 <div class="card" style="width:100%;border-radius: 6px;"> 224 <div class="card" style="width:100%;border-radius: 6px;">
225 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 225 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
226 <img class="card-img-top" src="images/bangeluru.png" style="width:100%"> 226 <img class="card-img-top" src="images/bangeluru.png" style="width:100%">
227 <div class="card-block"> 227 <div class="card-block">
228 <div class="pull-left"> 228 <div class="pull-left">
229 <label class="card-title">Bengaluru</label><br> 229 <label class="card-title">Bengaluru</label><br>
230 <label class="card-sub-title">Saturday</label> 230 <label class="card-sub-title">Saturday</label>
231 </div> 231 </div>
232 <div class="pull-right"> 232 <div class="pull-right">
233 <label class="card-sub-title"><i class="material-icons">location_on</i> 233 <label class="card-sub-title"><i class="material-icons">location_on</i>
234 <span style="position: relative;top: -3px;font-size: 17px;">Bangalore</span><br> 234 <span style="position: relative;top: -3px;font-size: 17px;">Bangalore</span><br>
235 <span id="bengaluru" style="color:red;"></span>* 235 <span id="bengaluru" style="color:red;"></span>*
236 </label> 236 </label>
237 </div> 237 </div>
238 <div class="clearfix"></div> 238 <div class="clearfix"></div>
239 <label class="card-sub-title">Oct 13, 2018</label> 239 <label class="card-sub-title">Oct 13, 2018</label>
240 </div> 240 </div>
241 </label> 241 </label>
242 <div class="clearfix"></div> 242 <div class="clearfix"></div>
243 <div class="card-text2"> 243 <div class="card-text2">
244 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/bengaluru/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button> 244 <button class="btn btn-info apply-act" style="float: left;padding: 3px 10px 3px 10px;border-radius: 12px;" data-toggle="collapse" ng-click="select('https://startupjalsa.com/bengaluru/?utm_source=portal&utm_medium=link&utm_campaign=apply%20now%20portal')" >Flashback</button>
245 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Bengaluru')" >Select</button> 245 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('Bengaluru')" >Select</button>
246 </div> 246 </div>
247 </div> 247 </div>
248 </div> 248 </div>
249 <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 249 <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
250 <div class="card" style="width:100%;border-radius: 6px;"> 250 <div class="card" style="width:100%;border-radius: 6px;">
251 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 251 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
252 <img class="card-img-top" src="images/dharamshala_3.png" style="width:100%"> 252 <img class="card-img-top" src="images/dharamshala_3.png" style="width:100%">
253 <span style="display:block; text-align:center;">Invest Edition</span> 253 <span style="display:block; text-align:center;">Invest Edition</span>
254 <div class="card-block"> 254 <div class="card-block">
255 <div class="pull-left"> 255 <div class="pull-left">
256 <label class="card-title">Dharamsala</label><br> 256 <label class="card-title">Dharamsala</label><br>
257 <label class="card-sub-title">Friday - Saturday</label> 257 <label class="card-sub-title">Friday - Saturday</label>
258 </div> 258 </div>
259 <div class="pull-right"> 259 <div class="pull-right">
260 <label class="card-sub-title"><i class="material-icons">location_on</i> 260 <label class="card-sub-title"><i class="material-icons">location_on</i>
261 <span style="position: relative;top: -3px;font-size: 17px;">The Pavilion</span> 261 <span style="position: relative;top: -3px;font-size: 17px;">The Pavilion</span>
262 <!-- <span id="dharamsala" style="color:red;"></span>* --> 262 <!-- <span id="dharamsala" style="color:red;"></span>* -->
263 </label> 263 </label>
264 </div> 264 </div>
265 <div class="clearfix"></div> 265 <div class="clearfix"></div>
266 <label class="card-sub-title">Dec 14-15, 2018</label> 266 <label class="card-sub-title">Dec 14-15, 2018</label>
267 </div> 267 </div>
268 <!-- <div class="card-block"> 268 <!-- <div class="card-block">
269 <div class="pull-left"> 269 <div class="pull-left">
270 <label class="card-title">Ahmedabad</label><br> 270 <label class="card-title">Ahmedabad</label><br>
271 <label class="card-sub-title">Friday</label> 271 <label class="card-sub-title">Friday</label>
272 </div> 272 </div>
273 <div class="pull-right"> 273 <div class="pull-right">
274 <label class="card-sub-title"><i class="material-icons">location_on</i> 274 <label class="card-sub-title"><i class="material-icons">location_on</i>
275 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span> 275 <span style="position: relative;top: -3px;font-size: 17px;">IIM-Ahmedabad</span>
276 </label> 276 </label>
277 </div> 277 </div>
278 <div class="clearfix"></div> 278 <div class="clearfix"></div>
279 <label class="card-sub-title">Oct 12, 2018</label> 279 <label class="card-sub-title">Oct 12, 2018</label>
280 </div> --> 280 </div> -->
281 </label> 281 </label>
282 <div class="clearfix"></div> 282 <div class="clearfix"></div>
283 <div style="display:block; text-align:center;border-top: 1px solid rgba(0, 0, 0, .05) !important;"> 283 <div style="display:block; text-align:center;border-top: 1px solid rgba(0, 0, 0, .05) !important;">
284 <label style="padding-top: 3px;"><b style="color: #46b8da;">Invite Only</b></label> 284 <label style="padding-top: 3px;"><b style="color: #46b8da;">Invite Only</b></label>
285 </div> 285 </div>
286 </div> 286 </div>
287 </div> 287 </div>
288 <!-- <div class="col-md-3 col-sm-6" style="margin-top: 2%;"> 288 <!-- <div class="col-md-3 col-sm-6" style="margin-top: 2%;">
289 <div class="card" style="width:100%;border-radius: 6px;"> 289 <div class="card" style="width:100%;border-radius: 6px;">
290 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card"> 290 <label style="padding: 0;" class="thumbnail radius-border stage-thumbnail cursor rotate-card">
291 <img class="card-img-top" src="images/roorkee.png" style="width:100%"> 291 <img class="card-img-top" src="images/roorkee.png" style="width:100%">
292 <div class="card-block"> 292 <div class="card-block">
293 <div class="pull-left"> 293 <div class="pull-left">
294 <h4 class="card-title">Roorkee</h4> 294 <h4 class="card-title">Roorkee</h4>
295 <label class="card-sub-title">Wednesday</label> 295 <label class="card-sub-title">Wednesday</label>
296 </div> 296 </div>
297 <div class="pull-right"> 297 <div class="pull-right">
298 <label class="card-sub-title"><i class="material-icons">location_on</i> 298 <label class="card-sub-title"><i class="material-icons">location_on</i>
299 <span style="position: relative;top: -3px;">IIT-Roorkee</span> 299 <span style="position: relative;top: -3px;">IIT-Roorkee</span>
300 </label> 300 </label>
301 </div> 301 </div>
302 <div class="clearfix"></div> 302 <div class="clearfix"></div>
303 <label class="card-sub-title">Oct 17, 2018</label> 303 <label class="card-sub-title">Oct 17, 2018</label>
304 </div> 304 </div>
305 </label> 305 </label>
306 <div class="clearfix"></div> 306 <div class="clearfix"></div>
307 <div class="card-text2"> 307 <div class="card-text2">
308 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> 308 <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button>
309 </div> 309 </div>
310 </div> 310 </div>
311 </div> --> 311 </div> -->
312 </div> 312 </div>
313 </div> 313 </div>
314 <div class="clearfix"></div> 314 <div class="clearfix"></div>
315 </div> 315 </div>
316 <div style="margin-top:3%;">* Registeration closes</div> 316 <div style="margin-top:3%;">* Registeration closes</div>
317 </div> 317 </div>
318 <div class="clearfix"></div> 318 <div class="clearfix"></div>
319 <footer style="margin-top: 5%;"> 319 <footer style="margin-top: 5%;">
320 <img id="footer" class="img-responsive banner"> 320 <img id="footer" class="img-responsive banner">
321 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center> 321 <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center>
322 </footer> 322 </footer>
323 <span ng-show="span == true"> 323 <span ng-show="span == true">
324 <span id="chennai"></span> 324 <span id="chennai"></span>
325 <span id="mumbai"></span> 325 <span id="mumbai"></span>
326 <span id="hyderabad"></span> 326 <span id="hyderabad"></span>
327 <span id="kolkata"></span> 327 <span id="kolkata"></span>
328 <span id="delhi"></span> 328 <span id="delhi"></span>
329 <span id="ahmedabad"></span> 329 <span id="ahmedabad"></span>
330 <span id="bengaluru"></span> 330 <span id="bengaluru"></span>
331 <span id="jaipur"></span> 331 <span id="jaipur"></span>
332 <span id="kanpur"></span> 332 <span id="kanpur"></span>
333 <span id="dharamsala"></span> 333 <span id="dharamsala"></span>
334 </span> 334 </span>
335 335
336 336
337 337
1 // create the module and name it scotchApp 1 // create the module and name it scotchApp
2 var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); 2 var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']);
3 3
4 // configure our routes 4 // configure our routes
5 scotchApp.config(function($routeProvider,$locationProvider) { 5 scotchApp.config(function($routeProvider,$locationProvider) {
6 6
7 // use the HTML5 History API 7 // use the HTML5 History API
8 $locationProvider.html5Mode({ 8 $locationProvider.html5Mode({
9 enabled: true, 9 enabled: true,
10 requireBase: false 10 requireBase: false
11 }); 11 });
12 $locationProvider.hashPrefix('!'); 12 $locationProvider.hashPrefix('!');
13 $routeProvider 13 $routeProvider
14 // route for the Home page 14 // route for the Home page
15 .when('/', { 15 .when('/', {
16 templateUrl: 'pages/Home.html', 16 templateUrl: 'pages/Home.html',
17 controller: 'mainController' 17 controller: 'mainController'
18 }) 18 })
19 19
20 // route for the caricatures page 20 // route for the caricatures page
21 .when('/caricatures', { 21 .when('/caricatures', {
22 templateUrl: 'pages/caricatures.html', 22 templateUrl: 'pages/caricatures.html',
23 controller: 'mainController' 23 controller: 'mainController'
24 }) 24 })
25 25
26 // // route for the paymentVerify page 26 // route for the paymentVerify page
27 // .when('/pendingPayment/:id', { 27 .when('/pendingPayment/:id', {
28 // templateUrl: 'pages/verify.html', 28 templateUrl: 'pages/verify.html',
29 // controller: 'verifyController' 29 controller: 'verifyController'
30 // }) 30 })
31 31
32 // route for the registration page 32 // route for the registration page
33 .when('/registration/:city', { 33 .when('/registration/:city', {
34 templateUrl: 'pages/registration.html', 34 templateUrl: 'pages/registration.html',
35 controller: 'registrationController' 35 controller: 'registrationController'
36 }) 36 })
37 37
38 //route for the ambassador page 38 //route for the ambassador page
39 // .when('/startupJalsaPromocode', { 39 // .when('/startupJalsaPromocode', {
40 // templateUrl: 'pages/ambassador.html', 40 // templateUrl: 'pages/ambassador.html',
41 // controller: 'ambassadorController' 41 // controller: 'ambassadorController'
42 // }) 42 // })
43 43
44 // route for the confirmation page 44 // route for the confirmation page
45 .when('/confirmation', { 45 .when('/confirmation', {
46 templateUrl: 'pages/confirmation.html', 46 templateUrl: 'pages/confirmation.html',
47 controller: 'registrationController' 47 controller: 'registrationController'
48 }) 48 })
49 49
50 .otherwise({ 50 .otherwise({
51 redirectTo: '/' 51 redirectTo: '/'
52 }); 52 });
53 53
54
55
56 }); 54 });
57 55
58 scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { 56 scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) {
59 // Add configuration code as desired 57 // Add configuration code as desired
60 AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code 58 AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code
61 59
62 // Track all routes (default is true). 60 // Track all routes (default is true).
63 AnalyticsProvider.trackPages(true); 61 AnalyticsProvider.trackPages(true);
64 62
65 // Track all URL query params (default is false). 63 // Track all URL query params (default is false).
66 AnalyticsProvider.trackUrlParams(true); 64 AnalyticsProvider.trackUrlParams(true);
67 65
68 }]).run(['Analytics', function(Analytics) { }]); 66 }]).run(['Analytics', function(Analytics) { }]);
69 67
70 scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1") 68 scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1")
71 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") 69 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1")
72 70
73 // create the controller and inject Angular's $scope 71 // create the controller and inject Angular's $scope
74 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { 72 scotchApp.controller('mainController', function($scope, $http, $window, $location, $route, $rootScope, BASE_URL, Analytics) {
75 $scope.data = { 73 $scope.data = {
76 show: true, 74 show: true,
77 hide: false 75 hide: false
78 }; 76 };
79 77
80 var chennai = new Date("Sept 19, 2018 12:00:00").getTime(); 78 var chennai = new Date("Sept 19, 2018 12:00:00").getTime();
81 // Update the count down every 1 second 79 // Update the count down every 1 second
82 var x = setInterval(function() { 80 var x = setInterval(function() {
83 // Get todays date and time 81 // Get todays date and time
84 var now = new Date().getTime(); 82 var now = new Date().getTime();
85 // Find the distance between now an the count down date 83 // Find the distance between now an the count down date
86 var distance = chennai - now; 84 var distance = chennai - now;
87 // Time calculations for days, hours, minutes and seconds 85 // Time calculations for days, hours, minutes and seconds
88 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 86 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
89 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 87 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
90 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 88 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
91 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 89 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
92 $scope.timer = days + "d " + hours + "h " 90 $scope.timer = days + "d " + hours + "h "
93 + minutes + "m " + seconds + "s " 91 + minutes + "m " + seconds + "s "
94 // Output the result in an element with id="demo" 92 // Output the result in an element with id="demo"
95 document.getElementById("chennai").innerHTML = days + "d " + hours + "h " 93 document.getElementById("chennai").innerHTML = days + "d " + hours + "h "
96 + minutes + "m " + seconds + "s "; 94 + minutes + "m " + seconds + "s ";
97 // If the count down is over, write some text 95 // If the count down is over, write some text
98 if (distance < 0) { 96 if (distance < 0) {
99 clearInterval(x); 97 clearInterval(x);
100 document.getElementById("chennai").innerHTML = "EXPIRED"; 98 document.getElementById("chennai").innerHTML = "EXPIRED";
101 } 99 }
102 }, 1000); 100 }, 1000);
103 101
104 var hyderabad = new Date("Sept 21, 2018 12:00:00").getTime(); 102 var hyderabad = new Date("Sept 22, 2018 14:00:00").getTime();
105 // Update the count down every 1 second 103 // Update the count down every 1 second
106 var x = setInterval(function() { 104 var x = setInterval(function() {
107 // Get todays date and time 105 // Get todays date and time
108 var now = new Date().getTime(); 106 var now = new Date().getTime();
109 // Find the distance between now an the count down date 107 // Find the distance between now an the count down date
110 var distance = hyderabad - now; 108 var distance = hyderabad - now;
111 // Time calculations for days, hours, minutes and seconds 109 // Time calculations for days, hours, minutes and seconds
112 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 110 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
113 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 111 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
114 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 112 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
115 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 113 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
116 $scope.timer = days + "d " + hours + "h " 114 $scope.timer = days + "d " + hours + "h "
117 + minutes + "m " + seconds + "s " 115 + minutes + "m " + seconds + "s "
118 // Output the result in an element with id="demo" 116 // Output the result in an element with id="demo"
119 document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " 117 document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h "
120 + minutes + "m " + seconds + "s "; 118 + minutes + "m " + seconds + "s ";
121 // If the count down is over, write some text 119 // If the count down is over, write some text
122 if (distance < 0) { 120 if (distance < 0) {
123 clearInterval(x); 121 clearInterval(x);
124 document.getElementById("hyderabad").innerHTML = "EXPIRED"; 122 document.getElementById("hyderabad").innerHTML = "EXPIRED";
125 } 123 }
126 }, 1000); 124 }, 1000);
127 125
128 var mumbai = new Date("Sept 25, 2018 12:00:00").getTime(); 126 var mumbai = new Date("Sept 26, 2018 14:00:00").getTime();
129 // Update the count down every 1 second 127 // Update the count down every 1 second
130 var x = setInterval(function() { 128 var x = setInterval(function() {
131 // Get todays date and time 129 // Get todays date and time
132 var now = new Date().getTime(); 130 var now = new Date().getTime();
133 // Find the distance between now an the count down date 131 // Find the distance between now an the count down date
134 var distance = mumbai - now; 132 var distance = mumbai - now;
135 // Time calculations for days, hours, minutes and seconds 133 // Time calculations for days, hours, minutes and seconds
136 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 134 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
137 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 135 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
138 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 136 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
139 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 137 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
140 $scope.timer = days + "d " + hours + "h " 138 $scope.timer = days + "d " + hours + "h "
141 + minutes + "m " + seconds + "s " 139 + minutes + "m " + seconds + "s "
142 // Output the result in an element with id="demo" 140 // Output the result in an element with id="demo"
143 document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " 141 document.getElementById("mumbai").innerHTML = days + "d " + hours + "h "
144 + minutes + "m " + seconds + "s "; 142 + minutes + "m " + seconds + "s ";
145 // If the count down is over, write some text 143 // If the count down is over, write some text
146 if (distance < 0) { 144 if (distance < 0) {
147 clearInterval(x); 145 clearInterval(x);
148 document.getElementById("mumbai").innerHTML = "EXPIRED"; 146 document.getElementById("mumbai").innerHTML = "EXPIRED";
149 } 147 }
150 }, 1000); 148 }, 1000);
151 149
152 var kolkata = new Date("Oct 2, 2018 12:00:00").getTime(); 150 var kolkata = new Date("Oct 3, 2018 14:00:00").getTime();
153 // Update the count down every 1 second 151 // Update the count down every 1 second
154 var x = setInterval(function() { 152 var x = setInterval(function() {
155 // Get todays date and time 153 // Get todays date and time
156 var now = new Date().getTime(); 154 var now = new Date().getTime();
157 // Find the distance between now an the count down date 155 // Find the distance between now an the count down date
158 var distance = kolkata - now; 156 var distance = kolkata - now;
159 // Time calculations for days, hours, minutes and seconds 157 // Time calculations for days, hours, minutes and seconds
160 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 158 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
161 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 159 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
162 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 160 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
163 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 161 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
164 $scope.timer = days + "d " + hours + "h " 162 $scope.timer = days + "d " + hours + "h "
165 + minutes + "m " + seconds + "s " 163 + minutes + "m " + seconds + "s "
166 // Output the result in an element with id="demo" 164 // Output the result in an element with id="demo"
167 document.getElementById("kolkata").innerHTML = days + "d " + hours + "h " 165 document.getElementById("kolkata").innerHTML = days + "d " + hours + "h "
168 + minutes + "m " + seconds + "s "; 166 + minutes + "m " + seconds + "s ";
169 // If the count down is over, write some text 167 // If the count down is over, write some text
170 if (distance < 0) { 168 if (distance < 0) {
171 clearInterval(x); 169 clearInterval(x);
172 document.getElementById("kolkata").innerHTML = "EXPIRED"; 170 document.getElementById("kolkata").innerHTML = "EXPIRED";
173 } 171 }
174 }, 1000); 172 }, 1000);
175 173
176 var jaipur = new Date("Oct 4, 2018 12:00:00").getTime(); 174 var jaipur = new Date("Oct 5, 2018 14:00:00").getTime();
177 // Update the count down every 1 second 175 // Update the count down every 1 second
178 var x = setInterval(function() { 176 var x = setInterval(function() {
179 // Get todays date and time 177 // Get todays date and time
180 var now = new Date().getTime(); 178 var now = new Date().getTime();
181 // Find the distance between now an the count down date 179 // Find the distance between now an the count down date
182 var distance = jaipur - now; 180 var distance = jaipur - now;
183 // Time calculations for days, hours, minutes and seconds 181 // Time calculations for days, hours, minutes and seconds
184 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 182 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
185 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 183 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
186 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 184 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
187 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 185 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
188 $scope.timer = days + "d " + hours + "h " 186 $scope.timer = days + "d " + hours + "h "
189 + minutes + "m " + seconds + "s " 187 + minutes + "m " + seconds + "s "
190 // Output the result in an element with id="demo" 188 // Output the result in an element with id="demo"
191 document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " 189 document.getElementById("jaipur").innerHTML = days + "d " + hours + "h "
192 + minutes + "m " + seconds + "s "; 190 + minutes + "m " + seconds + "s ";
193 // If the count down is over, write some text 191 // If the count down is over, write some text
194 if (distance < 0) { 192 if (distance < 0) {
195 clearInterval(x); 193 clearInterval(x);
196 document.getElementById("jaipur").innerHTML = "EXPIRED"; 194 document.getElementById("jaipur").innerHTML = "EXPIRED";
197 } 195 }
198 }, 1000); 196 }, 1000);
199 197
200 var delhi = new Date("Oct 7, 2018 12:00:00").getTime(); 198 var delhi = new Date("Oct 8, 2018 14:00:00").getTime();
201 // Update the count down every 1 second 199 // Update the count down every 1 second
202 var x = setInterval(function() { 200 var x = setInterval(function() {
203 // Get todays date and time 201 // Get todays date and time
204 var now = new Date().getTime(); 202 var now = new Date().getTime();
205 // Find the distance between now an the count down date 203 // Find the distance between now an the count down date
206 var distance = delhi - now; 204 var distance = delhi - now;
207 // Time calculations for days, hours, minutes and seconds 205 // Time calculations for days, hours, minutes and seconds
208 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 206 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
209 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 207 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
210 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 208 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
211 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 209 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
212 $scope.timer = days + "d " + hours + "h " 210 $scope.timer = days + "d " + hours + "h "
213 + minutes + "m " + seconds + "s " 211 + minutes + "m " + seconds + "s "
214 // Output the result in an element with id="demo" 212 // Output the result in an element with id="demo"
215 document.getElementById("delhi").innerHTML = days + "d " + hours + "h " 213 document.getElementById("delhi").innerHTML = days + "d " + hours + "h "
216 + minutes + "m " + seconds + "s "; 214 + minutes + "m " + seconds + "s ";
217 // If the count down is over, write some text 215 // If the count down is over, write some text
218 if (distance < 0) { 216 if (distance < 0) {
219 clearInterval(x); 217 clearInterval(x);
220 document.getElementById("delhi").innerHTML = "EXPIRED"; 218 document.getElementById("delhi").innerHTML = "EXPIRED";
221 } 219 }
222 }, 1000); 220 }, 1000);
223 221
224 var kanpur = new Date("Oct 9, 2018 12:00:00").getTime(); 222 var kanpur = new Date("Oct 10, 2018 14:00:00").getTime();
225 // Update the count down every 1 second 223 // Update the count down every 1 second
226 var x = setInterval(function() { 224 var x = setInterval(function() {
227 // Get todays date and time 225 // Get todays date and time
228 var now = new Date().getTime(); 226 var now = new Date().getTime();
229 // Find the distance between now an the count down date 227 // Find the distance between now an the count down date
230 var distance = kanpur - now; 228 var distance = kanpur - now;
231 // Time calculations for days, hours, minutes and seconds 229 // Time calculations for days, hours, minutes and seconds
232 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 230 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
233 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 231 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
234 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 232 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
235 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 233 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
236 $scope.timer = days + "d " + hours + "h " 234 $scope.timer = days + "d " + hours + "h "
237 + minutes + "m " + seconds + "s " 235 + minutes + "m " + seconds + "s "
238 // Output the result in an element with id="demo" 236 // Output the result in an element with id="demo"
239 document.getElementById("kanpur").innerHTML = days + "d " + hours + "h " 237 document.getElementById("kanpur").innerHTML = days + "d " + hours + "h "
240 + minutes + "m " + seconds + "s "; 238 + minutes + "m " + seconds + "s ";
241 // If the count down is over, write some text 239 // If the count down is over, write some text
242 if (distance < 0) { 240 if (distance < 0) {
243 clearInterval(x); 241 clearInterval(x);
244 document.getElementById("kanpur").innerHTML = "EXPIRED"; 242 document.getElementById("kanpur").innerHTML = "EXPIRED";
245 } 243 }
246 }, 1000); 244 }, 1000);
247 245
248 var ahmedabad = new Date("Oct 11, 2018 12:00:00").getTime(); 246 var ahmedabad = new Date("Oct 12, 2018 14:00:00").getTime();
249 // Update the count down every 1 second 247 // Update the count down every 1 second
250 var x = setInterval(function() { 248 var x = setInterval(function() {
251 // Get todays date and time 249 // Get todays date and time
252 var now = new Date().getTime(); 250 var now = new Date().getTime();
253 // Find the distance between now an the count down date 251 // Find the distance between now an the count down date
254 var distance = ahmedabad - now; 252 var distance = ahmedabad - now;
255 // Time calculations for days, hours, minutes and seconds 253 // Time calculations for days, hours, minutes and seconds
256 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 254 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
257 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 255 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
258 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 256 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
259 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 257 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
260 $scope.timer = days + "d " + hours + "h " 258 $scope.timer = days + "d " + hours + "h "
261 + minutes + "m " + seconds + "s " 259 + minutes + "m " + seconds + "s "
262 // Output the result in an element with id="demo" 260 // Output the result in an element with id="demo"
263 document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " 261 document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h "
264 + minutes + "m " + seconds + "s "; 262 + minutes + "m " + seconds + "s ";
265 // If the count down is over, write some text 263 // If the count down is over, write some text
266 if (distance < 0) { 264 if (distance < 0) {
267 clearInterval(x); 265 clearInterval(x);
268 document.getElementById("ahmedabad").innerHTML = "EXPIRED"; 266 document.getElementById("ahmedabad").innerHTML = "EXPIRED";
269 } 267 }
270 }, 1000); 268 }, 1000);
271 269
272 var bengaluru = new Date("Oct 12, 2018 12:00:00").getTime(); 270 var bengaluru = new Date("Oct 13, 2018 14:00:00").getTime();
273 // Update the count down every 1 second 271 // Update the count down every 1 second
274 var x = setInterval(function() { 272 var x = setInterval(function() {
275 // Get todays date and time 273 // Get todays date and time
276 var now = new Date().getTime(); 274 var now = new Date().getTime();
277 // Find the distance between now an the count down date 275 // Find the distance between now an the count down date
278 var distance = bengaluru - now; 276 var distance = bengaluru - now;
279 // Time calculations for days, hours, minutes and seconds 277 // Time calculations for days, hours, minutes and seconds
280 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 278 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
281 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 279 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
282 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 280 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
283 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 281 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
284 $scope.timer = days + "d " + hours + "h " 282 $scope.timer = days + "d " + hours + "h "
285 + minutes + "m " + seconds + "s " 283 + minutes + "m " + seconds + "s "
286 // Output the result in an element with id="demo" 284 // Output the result in an element with id="demo"
287 document.getElementById("bengaluru").innerHTML = days + "d " + hours + "h " 285 document.getElementById("bengaluru").innerHTML = days + "d " + hours + "h "
288 + minutes + "m " + seconds + "s "; 286 + minutes + "m " + seconds + "s ";
289 // If the count down is over, write some text 287 // If the count down is over, write some text
290 if (distance < 0) { 288 if (distance < 0) {
291 clearInterval(x); 289 clearInterval(x);
292 document.getElementById("bengaluru").innerHTML = "EXPIRED"; 290 document.getElementById("bengaluru").innerHTML = "EXPIRED";
293 } 291 }
294 }, 1000); 292 }, 1000);
295 293
296 var dharamsala = new Date("Dec 13, 2018 12:00:00").getTime(); 294 var dharamsala = new Date("Dec 14, 2018 14:00:00").getTime();
297 // Update the count down every 1 second 295 // Update the count down every 1 second
298 var x = setInterval(function() { 296 var x = setInterval(function() {
299 // Get todays date and time 297 // Get todays date and time
300 var now = new Date().getTime(); 298 var now = new Date().getTime();
301 // Find the distance between now an the count down date 299 // Find the distance between now an the count down date
302 var distance = dharamsala - now; 300 var distance = dharamsala - now;
303 // Time calculations for days, hours, minutes and seconds 301 // Time calculations for days, hours, minutes and seconds
304 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 302 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
305 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 303 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
306 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 304 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
307 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 305 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
308 $scope.timer = days + "d " + hours + "h " 306 $scope.timer = days + "d " + hours + "h "
309 + minutes + "m " + seconds + "s " 307 + minutes + "m " + seconds + "s "
310 // Output the result in an element with id="demo" 308 // Output the result in an element with id="demo"
311 document.getElementById("dharamsala").innerHTML = days + "d " + hours + "h " 309 document.getElementById("dharamsala").innerHTML = days + "d " + hours + "h "
312 + minutes + "m " + seconds + "s "; 310 + minutes + "m " + seconds + "s ";
313 // If the count down is over, write some text 311 // If the count down is over, write some text
314 if (distance < 0) { 312 if (distance < 0) {
315 clearInterval(x); 313 clearInterval(x);
316 document.getElementById("dharamsala").innerHTML = "EXPIRED"; 314 document.getElementById("dharamsala").innerHTML = "EXPIRED";
317 } 315 }
318 }, 1000); 316 }, 1000);
319 317
320 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 318 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
321 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 319 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
322 // $scope.Textshow = "yes" 320 // $scope.Textshow = "yes"
323 $scope.max = 100; 321 $scope.max = 100;
324 $scope.formPage = false; 322 $scope.formPage = false;
325 $scope.current = 0; 323 $scope.current = 0;
326 $scope.payingAmnt = 0; 324 $scope.payingAmnt = 0;
327 $scope.data = {}; 325 $scope.data = {};
328 $scope.discountAmount = 0; 326 $scope.discountAmount = 0;
329 // $scope.data.quantity = "1"; 327 // $scope.data.quantity = "1";
330 $scope.check = false; 328 $scope.check = false;
331 $scope.numberCheck = false; 329 $scope.numberCheck = false;
332 $scope.paymentResult = {}; 330 $scope.paymentResult = {};
333 var data = { 331 var data = {
334 "amount": $scope.payingAmnt, 332 "amount": $scope.payingAmnt,
335 "currency": "INR", 333 "currency": "INR",
336 "status": "pending" 334 "status": "pending"
337 } 335 }
338 336
339 $scope.apply = function() { 337 $scope.apply = function() {
340 //Analytics.trackEvent('register', 'click', 'Registration'); 338 //Analytics.trackEvent('register', 'click', 'Registration');
341 $location.path("/caricatures") 339 $location.path("/caricatures")
342 } 340 }
343 341
344 $scope.data.city = ''; 342 $scope.data.city = '';
345 $scope.watch = function(value){ 343 $scope.watch = function(value){
346 console.log("cllll",value) 344 console.log("cllll",value)
347 $scope.data.city = value; 345 $scope.data.city = value;
348 localStorage.setItem("city" ,value); 346 // if($scope.data.city == "Chennai"){
349 //$location.path('/registration').search({city: value}); 347 // console.log("cllll1",value)
350 $location.path('/registration/'+value+''); 348 // $window.location.href = 'http://35.154.24.158:8007';
351 //$state.go('registration', { 'city': value}) 349 // }else{
350 console.log("cllll2",value)
351 localStorage.setItem("city" ,value);
352 //$location.path('/registration').search({city: value});
353 $location.path('/registration/'+value+'');
354 //$state.go('registration', { 'city': value})
355 // }
352 } 356 }
353 357
354 $scope.select = function(url){ 358 $scope.select = function(url){
355 console.log("cllll") 359 console.log("cllll")
356 window.open(url) 360 window.open(url)
357 } 361 }
358 362
359 $scope.stagekeyPress = function() { 363 $scope.stagekeyPress = function() {
360 $('.icon-circle-a').css('background-color', 'rgb(25, 104, 157)'); 364 $('.icon-circle-a').css('background-color', 'rgb(25, 104, 157)');
361 } 365 }
362 $scope.sectorkeyPress = function() { 366 $scope.sectorkeyPress = function() {
363 $('.icon-circle-b').css('background-color', 'rgb(25, 104, 157)'); 367 $('.icon-circle-b').css('background-color', 'rgb(25, 104, 157)');
364 } 368 }
365 369
366 $scope.productLaunchkeyPress = function() { 370 $scope.productLaunchkeyPress = function() {
367 $('.icon-circle-ab').css('background-color', 'rgb(25, 104, 157)'); 371 $('.icon-circle-ab').css('background-color', 'rgb(25, 104, 157)');
368 } 372 }
369 373
370 $scope.launchPeriodkeyPress = function() { 374 $scope.launchPeriodkeyPress = function() {
371 $('.icon-circle-abc').css('background-color', 'rgb(25, 104, 157)'); 375 $('.icon-circle-abc').css('background-color', 'rgb(25, 104, 157)');
372 } 376 }
373 377
374 $scope.industrykeyPress = function(quantity) { 378 $scope.industrykeyPress = function(quantity) {
375 console.log("fghj",quantity) 379 console.log("fghj",quantity)
376 $('.icon-circle-abcdefg').css('background-color', 'rgb(25, 104, 157)'); 380 $('.icon-circle-abcdefg').css('background-color', 'rgb(25, 104, 157)');
377 } 381 }
378 382
379 $scope.industryNamekeyPress = function(firstName) { 383 $scope.industryNamekeyPress = function(firstName) {
380 console.log("lastName==", firstName); 384 console.log("lastName==", firstName);
381 if (firstName == undefined) { 385 if (firstName == undefined) {
382 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 386 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
383 } else { 387 } else {
384 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); 388 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)');
385 } 389 }
386 } 390 }
387 391
388 $scope.amountkeyPress = function() { 392 $scope.amountkeyPress = function() {
389 $('.icon-circle-bc').css('background-color', 'rgb(25, 104, 157)'); 393 $('.icon-circle-bc').css('background-color', 'rgb(25, 104, 157)');
390 } 394 }
391 395
392 $scope.firstNamekeyPress = function(name) { 396 $scope.firstNamekeyPress = function(name) {
393 console.log("lastName==", name); 397 console.log("lastName==", name);
394 if (name == undefined) { 398 if (name == undefined) {
395 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); 399 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)');
396 } else { 400 } else {
397 $('.icon-circle-c').css('background-color', 'rgb(25, 104, 157)'); 401 $('.icon-circle-c').css('background-color', 'rgb(25, 104, 157)');
398 } 402 }
399 } 403 }
400 404
401 $scope.emailkeyPress = function(email) { 405 $scope.emailkeyPress = function(email) {
402 console.log("email", email); 406 console.log("email", email);
403 if (email == undefined) { 407 if (email == undefined) {
404 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); 408 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)');
405 } else { 409 } else {
406 $('.icon-circle-d').css('background-color', 'rgb(25, 104, 157)'); 410 $('.icon-circle-d').css('background-color', 'rgb(25, 104, 157)');
407 } 411 }
408 } 412 }
409 413
410 $scope.phonekeyPress = function(number) { 414 $scope.phonekeyPress = function(number) {
411 console.log("number", number); 415 console.log("number", number);
412 if (number == undefined || number == '') { 416 if (number == undefined || number == '') {
413 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); 417 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)');
414 } else { 418 } else {
415 $('.icon-circle-e').css('background-color', 'rgb(25, 104, 157)'); 419 $('.icon-circle-e').css('background-color', 'rgb(25, 104, 157)');
416 } 420 }
417 } 421 }
418 422
419 $scope.citykeyPress = function(city) { 423 $scope.citykeyPress = function(city) {
420 console.log("city", city); 424 console.log("city", city);
421 if (city == undefined) { 425 if (city == undefined) {
422 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); 426 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)');
423 } else { 427 } else {
424 $('.icon-circle-f').css('background-color', 'rgb(25, 104, 157)'); 428 $('.icon-circle-f').css('background-color', 'rgb(25, 104, 157)');
425 } 429 }
426 } 430 }
427 431
428 $scope.startupNamekeyPress = function(q) { 432 $scope.startupNamekeyPress = function(q) {
429 if (q == undefined) { 433 if (q == undefined) {
430 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); 434 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)');
431 } else { 435 } else {
432 $('.icon-circle-x').css('background-color', 'rgb(25, 104, 157)'); 436 $('.icon-circle-x').css('background-color', 'rgb(25, 104, 157)');
433 } 437 }
434 } 438 }
435 439
436 $scope.linkedInkeyPress = function(technology) { 440 $scope.linkedInkeyPress = function(technology) {
437 if (technology == undefined || technology == '') { 441 if (technology == undefined || technology == '') {
438 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); 442 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)');
439 } else { 443 } else {
440 $('.icon-circle-h').css('background-color', 'rgb(25, 104, 157)'); 444 $('.icon-circle-h').css('background-color', 'rgb(25, 104, 157)');
441 } 445 }
442 } 446 }
443 $scope.companykeyPress = function(problem) { 447 $scope.companykeyPress = function(problem) {
444 if (problem == undefined) { 448 if (problem == undefined) {
445 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); 449 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)');
446 } else { 450 } else {
447 $('.icon-circle-i').css('background-color', 'rgb(25, 104, 157)'); 451 $('.icon-circle-i').css('background-color', 'rgb(25, 104, 157)');
448 } 452 }
449 } 453 }
450 $scope.productNamekeyPress = function(solution) { 454 $scope.productNamekeyPress = function(solution) {
451 if (solution == undefined) { 455 if (solution == undefined) {
452 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); 456 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)');
453 } else { 457 } else {
454 $('.icon-circle-j').css('background-color', 'rgb(25, 104, 157)'); 458 $('.icon-circle-j').css('background-color', 'rgb(25, 104, 157)');
455 } 459 }
456 } 460 }
457 $scope.businesskeyPress = function(business) { 461 $scope.businesskeyPress = function(business) {
458 if (business == undefined) { 462 if (business == undefined) {
459 $('.icon-circle-p').css('background-color', 'rgb(102, 102, 102)'); 463 $('.icon-circle-p').css('background-color', 'rgb(102, 102, 102)');
460 } else { 464 } else {
461 $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)'); 465 $('.icon-circle-p').css('background-color', 'rgb(25, 104, 157)');
462 } 466 }
463 } 467 }
464 468
465 $scope.websitekeyPress = function(prototype) { 469 $scope.websitekeyPress = function(prototype) {
466 if (prototype == undefined || prototype == '') { 470 if (prototype == undefined || prototype == '') {
467 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); 471 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)');
468 } else { 472 } else {
469 $('.icon-circle-k').css('background-color', 'rgb(25, 104, 157)'); 473 $('.icon-circle-k').css('background-color', 'rgb(25, 104, 157)');
470 } 474 }
471 } 475 }
472 476
473 $scope.employeekeyPress = function(market) { 477 $scope.employeekeyPress = function(market) {
474 if (market == undefined || market == '') { 478 if (market == undefined || market == '') {
475 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); 479 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)');
476 } else { 480 } else {
477 $('.icon-circle-l').css('background-color', 'rgb(25, 104, 157)'); 481 $('.icon-circle-l').css('background-color', 'rgb(25, 104, 157)');
478 } 482 }
479 } 483 }
480 484
481 $scope.annualkeyPress = function(risk) { 485 $scope.annualkeyPress = function(risk) {
482 if (risk == undefined || risk == '') { 486 if (risk == undefined || risk == '') {
483 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); 487 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)');
484 } else { 488 } else {
485 $('.icon-circle-m').css('background-color', 'rgb(25, 104, 157)'); 489 $('.icon-circle-m').css('background-color', 'rgb(25, 104, 157)');
486 } 490 }
487 } 491 }
488 492
489 $scope.revenuekeyPress = function(team) { 493 $scope.revenuekeyPress = function(team) {
490 if (team == undefined) { 494 if (team == undefined) {
491 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); 495 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)');
492 } else { 496 } else {
493 $('.icon-circle-n').css('background-color', 'rgb(25, 104, 157)'); 497 $('.icon-circle-n').css('background-color', 'rgb(25, 104, 157)');
494 } 498 }
495 } 499 }
496 500
497 $scope.descriptionkeyPress = function(pitch) { 501 $scope.descriptionkeyPress = function(pitch) {
498 if (pitch == undefined) { 502 if (pitch == undefined) {
499 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); 503 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)');
500 } else { 504 } else {
501 $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)'); 505 $('.icon-circle-z').css('background-color', 'rgb(25, 104, 157)');
502 } 506 }
503 } 507 }
504 508
505 $scope.discountkeyPress = function(discount) { 509 $scope.discountkeyPress = function(discount) {
506 if (discount == undefined) { 510 if (discount == undefined) {
507 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 511 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
508 } else { 512 } else {
509 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)'); 513 $('.icon-circle-o').css('background-color', 'rgb(25, 104, 157)');
510 } 514 }
511 } 515 }
512 516
513 $scope.removeNooError = function() { 517 $scope.removeNooError = function() {
514 $('#invalidIdea').css('display', 'block'); 518 $('#invalidIdea').css('display', 'block');
515 $('#noExist').css('display', 'none'); 519 $('#noExist').css('display', 'none');
516 }; 520 };
517 521
518 $scope.ideakeyPress = function(financial) { 522 $scope.ideakeyPress = function(financial) {
519 console.log("financial", financial); 523 console.log("financial", financial);
520 if (financial == undefined) { 524 if (financial == undefined) {
521 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); 525 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)');
522 } else { 526 } else {
523 $('.icon-circle-q').css('background-color', 'rgb(25, 104, 157)'); 527 $('.icon-circle-q').css('background-color', 'rgb(25, 104, 157)');
524 } 528 }
525 } 529 }
526 530
527 $scope.fundkeyPress = function(financial) { 531 $scope.fundkeyPress = function(financial) {
528 console.log("financial", financial); 532 console.log("financial", financial);
529 if (financial == undefined) { 533 if (financial == undefined) {
530 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); 534 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)');
531 } else { 535 } else {
532 $('.icon-circle-y').css('background-color', 'rgb(25, 104, 157)'); 536 $('.icon-circle-y').css('background-color', 'rgb(25, 104, 157)');
533 } 537 }
534 } 538 }
535 539
536 $scope.changeReferalIconColor = function(referalToken){ 540 $scope.changeReferalIconColor = function(referalToken){
537 if (referalToken == undefined || referalToken == '') { 541 if (referalToken == undefined || referalToken == '') {
538 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); 542 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)');
539 }else { 543 }else {
540 $('.referel-icon').css('background-color', 'rgb(25, 104, 157)'); 544 $('.referel-icon').css('background-color', 'rgb(25, 104, 157)');
541 } 545 }
542 } 546 }
543 547
544 }); 548 });
545 549
546 scotchApp.controller('registrationController', function($scope, $http, $location, $rootScope,$route,BASE_URL) { 550 scotchApp.controller('registrationController', function($scope, $http, $location, $rootScope,$route,BASE_URL) {
547 $scope.data = {}; 551 $scope.data = {};
548 $scope.check = false; 552 $scope.check = false;
549 $scope.numberCheck = false; 553 $scope.numberCheck = false;
550 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 554 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
551 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 555 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
552 $scope.max = 100; 556 $scope.max = 100;
553 $scope.formPage = false; 557 $scope.formPage = false;
554 $scope.current = 0; 558 $scope.current = 0;
555 $scope.payingAmnt = 0; 559 $scope.payingAmnt = 0;
556 $scope.discountAmount = 0; 560 $scope.discountAmount = 0;
557 // $scope.data.quantity = "1"; 561 // $scope.data.quantity = "1";
558 $scope.check = false; 562 $scope.check = false;
559 $scope.numberCheck = false; 563 $scope.numberCheck = false;
560 $scope.paymentResult = {}; 564 $scope.paymentResult = {};
561 var data = { 565 var data = {
562 "amount": $scope.payingAmnt, 566 "amount": $scope.payingAmnt,
563 "currency": "INR", 567 "currency": "INR",
564 "status": "pending" 568 "status": "pending"
565 } 569 }
566 570
567 $scope.removeError = function() { 571 $scope.removeError = function() {
568 $('#invalidEmail').css('display', 'none'); 572 $('#invalidEmail').css('display', 'none');
569 $('#alreadyExist').css('display', 'none'); 573 $('#alreadyExist').css('display', 'none');
570 }; 574 };
571 575
572 $scope.emailcheck = function(val) { 576 $scope.emailcheck = function(val) {
573 if (val == undefined) { 577 if (val == undefined) {
574 $('#invalidEmail').css('display', 'block'); 578 $('#invalidEmail').css('display', 'block');
575 } else { 579 } else {
576 $('#alreadyExist').css('display', 'block'); 580 $('#alreadyExist').css('display', 'block');
577 } 581 }
578 }; 582 };
579 583
580 $scope.removeNoError = function() { 584 $scope.removeNoError = function() {
581 $('#invalidNumber').css('display', 'none'); 585 $('#invalidNumber').css('display', 'none');
582 $('#alreadyExist').css('display', 'none'); 586 $('#alreadyExist').css('display', 'none');
583 }; 587 };
584 588
585 $scope.numbercheck = function(val) { 589 $scope.numbercheck = function(val) {
586 if (val == undefined) { 590 if (val == undefined) {
587 $('#invalidNumber').css('display', 'block'); 591 $('#invalidNumber').css('display', 'block');
588 } else { 592 } else {
589 $('#alreadyExist').css('display', 'block'); 593 $('#alreadyExist').css('display', 'block');
590 } 594 }
591 }; 595 };
592 596
593 // $scope.$on('city', function (event, value) { 597 // $scope.$on('city', function (event, value) {
594 $scope.data.city = localStorage.getItem("city"); 598 $scope.data.city = localStorage.getItem("city");
595 console.log("HERE===",$scope.data.city ); 599 console.log("HERE===",$scope.data.city );
596 // }); 600 // });
597 601
598 $rootScope.tokenCall = function(val) { 602 $rootScope.tokenCall = function(val) {
599 console.log('val-------->', val); 603 console.log('val-------->', val);
600 if (val == undefined) { 604 if (val == undefined) {
601 $('#invalidToken').css('display', 'block'); 605 $('#invalidToken').css('display', 'block');
602 } else { 606 } else {
603 val = val.toUpperCase(); 607 val = val.toUpperCase();
604 if((val == "IITH99" && $scope.data.city != "Hyderabad") || (val == "IITM99" && $scope.data.city != "Chennai") || (val == "IITD99" && $scope.data.city != "Delhi") || (val == "IITB99" && $scope.data.city != "Mumbai") || (val == "IITK99" && $scope.data.city != "Kanpur") || (val == "IIMC99" && $scope.data.city != "Kolkata") || (val == "IIMA99" && $scope.data.city != "Ahmedabad") || (val == "JAI40" && $scope.data.city != "Jaipur")){ 608 if((val == "IITH99" && $scope.data.city != "Hyderabad") || (val == "IITM99" && $scope.data.city != "Chennai") || (val == "IITD99" && $scope.data.city != "Delhi") || (val == "IITB99" && $scope.data.city != "Mumbai") || (val == "IITK99" && $scope.data.city != "Kanpur") || (val == "IIMC99" && $scope.data.city != "Kolkata") || (val == "IIMA99" && $scope.data.city != "Ahmedabad") || (val == "JAI40" && $scope.data.city != "Jaipur")){
605 $scope.tokencheck = false; 609 $scope.tokencheck = false;
606 return; 610 return;
607 } 611 }
608 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": "' + val + '"}}') 612 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": "' + val + '"}}')
609 .then(function(searchResult) { 613 .then(function(searchResult) {
610 console.log("searchResult",searchResult) 614 console.log("searchResult",searchResult)
611 if (searchResult.data.length == 0) { 615 if (searchResult.data.length == 0) {
612 $scope.tokencheck = false; 616 $scope.tokencheck = false;
613 $scope.discountAmount = 0; 617 $scope.discountAmount = 0;
614 } else { 618 } else {
615 console.log("===searchResult.data[0].discount===",searchResult.data[0].discount); 619 console.log("===searchResult.data[0].discount===",searchResult.data[0].discount);
616 $scope.discountpercentage = searchResult.data[0].discount; 620 $scope.discountpercentage = searchResult.data[0].discount;
617 console.log("===searchResultdiscountpercentage===",$scope.discountpercentage); 621 console.log("===searchResultdiscountpercentage===",$scope.discountpercentage);
618 $scope.tokencheck = true; 622 $scope.tokencheck = true;
619 } 623 }
620 },function(err){ 624 },function(err){
621 console.log(err) 625 console.log(err)
622 }); 626 });
623 627
624 } 628 }
625 }; 629 };
626 630
627 $scope.submit = function() { 631 $scope.submit = function() {
628 $scope.ticketAmnt = 500; 632 $scope.ticketAmnt = 500;
629 if($scope.tokencheck == false){ 633 if($scope.tokencheck == false){
630 $scope.data.referalToken = null; 634 $scope.data.referalToken = null;
631 } 635 }
632 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { 636 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
633 var x = document.getElementById("snackbar") 637 var x = document.getElementById("snackbar")
634 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); 638 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);
635 }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { 639 }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
636 $scope.infoForm = true; 640 $scope.infoForm = true;
637 $scope.detail = {}; 641 $scope.detail = {};
638 $scope.data.phone = "+91"+$scope.data.number; 642 $scope.data.phone = "+91"+$scope.data.number;
639 if($scope.data.referalToken == null){ 643 if($scope.data.referalToken == null){
640 $scope.data.referalToken = "N.A." 644 $scope.data.referalToken = "N.A."
641 } 645 }
642 $http({ 646 $http({
643 method: 'POST', 647 method: 'POST',
644 url: BASE_URL+'/applicants', 648 url: BASE_URL+'/applicants',
645 data: $scope.data, 649 data: $scope.data,
646 headers: {} 650 headers: {}
647 }).then(function mySuccess(result) { 651 }).then(function mySuccess(result) {
648 console.log("=====result=====",result) 652 console.log("=====result=====",result)
649 $scope.detail = result; 653 $scope.detail = result;
650 data.applicantId = result.data.id; 654 data.applicantId = result.data.id;
651 $scope.userId = result.data.id; 655 $scope.userId = result.data.id;
652 console.log("=====data=====",data) 656 console.log("=====data=====",data)
653 var amount = $scope.ticketAmnt * 100 657 var amount = $scope.ticketAmnt * 100
654 if($scope.tokencheck == true){ 658 if($scope.tokencheck == true){
655 var amount = $scope.ticketAmnt 659 var amount = $scope.ticketAmnt
656 console.log("====$scope.discountpercentage====",$scope.discountpercentage); 660 console.log("====$scope.discountpercentage====",$scope.discountpercentage);
657 console.log("resultcity===",$scope.data.city) 661 console.log("resultcity===",$scope.data.city)
658 if($scope.discountpercentage == "100") { 662 if($scope.discountpercentage == "100") {
659 $scope.discountpercentage = "99.8"; 663 $scope.discountpercentage = "99.8";
660 console.log("$scope.discountpercentage====",$scope.discountpercentage) 664 console.log("$scope.discountpercentage====",$scope.discountpercentage)
661 } 665 }
662 console.log("====$scope.discountpercentage====",$scope.discountpercentage); 666 console.log("====$scope.discountpercentage====",$scope.discountpercentage);
663 $scope.percDiscount = $scope.discountpercentage/100; 667 $scope.percDiscount = $scope.discountpercentage/100;
664 console.log("====$scope.percDiscount====",$scope.percDiscount); 668 console.log("====$scope.percDiscount====",$scope.percDiscount);
665 console.log("====amount=====",amount); 669 console.log("====amount=====",amount);
666 $scope.discountAmount = amount * $scope.percDiscount; 670 $scope.discountAmount = amount * $scope.percDiscount;
667 console.log("finalAmount====>",$scope.discountAmount) 671 console.log("finalAmount====>",$scope.discountAmount)
668 } 672 }
669 var taxAmount = $scope.ticketAmnt - $scope.discountAmount 673 var taxAmount = $scope.ticketAmnt - $scope.discountAmount
670 console.log("$scope.taxTotal----",taxAmount) 674 console.log("$scope.taxTotal----",taxAmount)
671 $scope.payingAmnt = taxAmount; 675 $scope.payingAmnt = taxAmount;
672 console.log("====$scope.payingAmnt====",$scope.payingAmnt) 676 console.log("====$scope.payingAmnt====",$scope.payingAmnt)
673 $scope.payingAmnt = $scope.payingAmnt.toFixed() 677 $scope.payingAmnt = $scope.payingAmnt.toFixed()
674 data.amount = $scope.payingAmnt; 678 data.amount = $scope.payingAmnt;
675 console.log("data.amount==",data.amount) 679 console.log("data.amount==",data.amount)
676 if($scope.detail != null){ 680 if($scope.detail != null){
677 $http({ 681 $http({
678 method: 'POST', 682 method: 'POST',
679 url: BASE_URL+'/payments', 683 url: BASE_URL+'/payments',
680 data: data, 684 data: data,
681 headers: {} 685 headers: {}
682 }).then(function mySuccess(paymentResult) { 686 }).then(function mySuccess(paymentResult) {
683 $scope.paymentResult = paymentResult; 687 $scope.paymentResult = paymentResult;
684 }, function myError(error) { 688 }, function myError(error) {
685 }); 689 });
686 } 690 }
687 var i = 0; 691 var i = 0;
688 $scope.payingAmnt = $scope.payingAmnt * 100; 692 $scope.payingAmnt = $scope.payingAmnt * 100;
689 var options = { 693 var options = {
690 //"key": "rzp_test_YwHsVFiDIQ2WUQ", 694 //"key": "rzp_test_YwHsVFiDIQ2WUQ",
691 "key": "rzp_live_mkmCb4FkstuWaS", 695 "key": "rzp_live_mkmCb4FkstuWaS",
692 "amount": $scope.payingAmnt, 696 "amount": $scope.payingAmnt,
693 697
694 "name": "Startup Jalsa", 698 "name": "Startup Jalsa",
695 "description":"amount", 699 "description":"amount",
696 "currency": "INR", 700 "currency": "INR",
697 "status": "done", 701 "status": "done",
698 702
699 "prefill": { 703 "prefill": {
700 "email": $scope.detail.email, 704 "email": $scope.detail.email,
701 "contact": $scope.detail.phone 705 "contact": $scope.detail.phone
702 }, 706 },
703 707
704 "theme": { 708 "theme": {
705 "color": "#2196f3 ", 709 "color": "#2196f3 ",
706 "image_padding":"NO" 710 "image_padding":"NO"
707 }, 711 },
708 "modal": { 712 "modal": {
709 "ondismiss": function(){ 713 "ondismiss": function(){
710 } 714 }
711 }, 715 },
712 "handler": function (response){ 716 "handler": function (response){
713 createPayment(response); 717 createPayment(response);
714 } 718 }
715 }; 719 };
716 var rzp1 = new Razorpay(options); 720 var rzp1 = new Razorpay(options);
717 rzp1.open(); 721 rzp1.open();
718 $scope.paymentResponse = {}; 722 $scope.paymentResponse = {};
719 function createPayment(response){ 723 function createPayment(response){
720 console.log("response12333333",response) 724 console.log("response12333333",response)
721 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 725 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
722 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 726 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
723 $scope.paymentResponse.amount = data.amount; 727 $scope.paymentResponse.amount = data.amount;
724 $scope.paymentResponse.currency = "INR"; 728 $scope.paymentResponse.currency = "INR";
725 $scope.paymentResponse.status = $scope.paymentResult.data.status; 729 $scope.paymentResponse.status = $scope.paymentResult.data.status;
726 console.log("$scope.paymentResponse.amount=====",$scope.paymentResponse.amount) 730 console.log("$scope.paymentResponse.amount=====",$scope.paymentResponse.amount)
727 $http({ 731 $http({
728 method: 'PUT', 732 method: 'PUT',
729 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, 733 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id,
730 data: $scope.paymentResponse, 734 data: $scope.paymentResponse,
731 headers: {} 735 headers: {}
732 }).then(function mySuccess(searchResult) { 736 }).then(function mySuccess(searchResult) {
733 console.log("searchResult",searchResult) 737 console.log("searchResult",searchResult)
734 $location.path("/confirmation") 738 $location.path("/confirmation")
735 }, function myError(error) { 739 }, function myError(error) {
736 }); 740 });
737 } 741 }
738 //} 742 //}
739 743
740 }, function myError(error) { 744 }, function myError(error) {
741 745
742 }); 746 });
743 747
744 } 748 }
745 749
746 } 750 }
747 751
748 }); 752 });
749 753
750 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { 754 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) {
751 $scope.data = {}; 755 $scope.data = {};
752 $scope.check = false; 756 $scope.check = false;
753 $scope.numberCheck = false; 757 $scope.numberCheck = false;
754 758
755 $scope.submit = function() { 759 $scope.submit = function() {
756 console.log($scope.data.name) 760 console.log($scope.data.name)
757 var randomNumber = ""+Math.random(); 761 var randomNumber = ""+Math.random();
758 var nameSpliced = $scope.data.name.slice(0,5); 762 var nameSpliced = $scope.data.name.slice(0,5);
759 var numberSpliced = randomNumber.slice(2,4);; 763 var numberSpliced = randomNumber.slice(2,4);;
760 $scope.data.referalToken = nameSpliced+numberSpliced; 764 $scope.data.referalToken = nameSpliced+numberSpliced;
761 $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); 765 $scope.data.referalToken = $scope.data.referalToken.toUpperCase();
762 console.log("dsdfs",numberSpliced); 766 console.log("dsdfs",numberSpliced);
763 $http({ 767 $http({
764 method: 'POST', 768 method: 'POST',
765 url: BASE_URL + '/ambassadors', 769 url: BASE_URL + '/ambassadors',
766 data: $scope.data, 770 data: $scope.data,
767 headers: {} 771 headers: {}
768 }).then(function mySuccess(result) { 772 }).then(function mySuccess(result) {
769 console.log("result", result) 773 console.log("result", result)
770 $scope.detail = result; 774 $scope.detail = result;
771 $('#myModal').modal('show'); 775 $('#myModal').modal('show');
772 $scope.data.name = ''; 776 $scope.data.name = '';
773 $scope.data.email = ''; 777 $scope.data.email = '';
774 $scope.data.mobile = ''; 778 $scope.data.mobile = '';
775 //$scope.data.discount = ''; 779 //$scope.data.discount = '';
776 780
777 }, function myError(error) { 781 }, function myError(error) {
778 console.log(error) 782 console.log(error)
779 console.log(error.data.error.message) 783 console.log(error.data.error.message)
780 }); 784 });
781 } 785 }
782 }); 786 });
783 787
784 788
785 789