Commit 726ed9748c8a744ca28d608862bec6a97f49786b

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

minor changes

Showing 2 changed files with 11 additions and 19 deletions   Show diff stats
pages/registration.html
1 <div class="header"> 1 <div class="header">
2 <div style="float: left;"> 2 <div style="float: left;">
3 <a href="http://startupjalsa.com/" target="_blank"> 3 <a href="http://startupjalsa.com/" target="_blank">
4 <img src="images/white.png" class="logo" > 4 <img src="images/white.png" class="logo" >
5 </a> 5 </a>
6 </div> 6 </div>
7 <!-- <div style="float: right;" class="right-side-links"> 7 <!-- <div style="float: right;" class="right-side-links">
8 <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> 8 <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a>
9 <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> 9 <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a>
10 </div> --> 10 </div> -->
11 <div class="clearfix"></div> 11 <div class="clearfix"></div>
12 </div> 12 </div>
13 <!-- CLOSE HEADER --> 13 <!-- CLOSE HEADER -->
14 <div class="col-xs-12 col-md-10 col-md-offset-1"> 14 <div class="col-xs-12 col-md-10 col-md-offset-1">
15 <p class="select-stage" style="font-size:16px;"><b>Please select one city.</b></p> 15 <p class="select-stage" style="font-size:16px;"><b>Please select one city.</b></p>
16 <div class="stage-shadow"> 16 <div class="stage-shadow">
17 <div class="stages card-align"> 17 <div class="stages card-align">
18 <div class="row"> 18 <div class="row">
19 <div class="col-md-3"> 19 <div class="col-md-3">
20 <div class="card" style="width:100%"> 20 <div class="card" style="width:100%">
21 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 21 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
22 <img class="card-img-top" src="images/Chennai1.png" style="width:100%"> 22 <img class="card-img-top" src="images/Chennai1.png" style="width:100%">
23 <div class="card-block"> 23 <div class="card-block">
24 <div class="pull-left"> 24 <div class="pull-left">
25 <h4 class="card-title">Chennai</h4> 25 <h4 class="card-title">Chennai</h4>
26 <label class="card-sub-title">9th November,2017</label> 26 <label class="card-sub-title">9th November,2017</label>
27 </div> 27 </div>
28 <div class="pull-right"> 28 <div class="pull-right">
29 <!-- <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" data-toggle="collapse" ng-click="register('chennai')" disabled="">Apply</button> --> 29 <!-- <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" data-toggle="collapse" ng-click="register('chennai')" disabled="">Apply</button> -->
30 </div> 30 </div>
31 <div class="clearfix"></div> 31 <div class="clearfix"></div>
32 <!-- <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chennai"></span>*</label> --> 32 <!-- <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chennai"></span>*</label> -->
33 <label class="card-sub-title"><span style="color:red">Closed</span></label> 33 <label class="card-sub-title"><span style="color:red">Closed</span></label>
34 </div> 34 </div>
35 <div class="card-text2"> 35 <div class="card-text2">
36 <span><b>Location</b></span> 36 <span><b>Location</b></span>
37 <div class="card-text" style="padding-bottom:16px;">IIT-Madras, Research Park Auditorium</div> 37 <div class="card-text" style="padding-bottom:16px;">IIT-Madras, Research Park Auditorium</div>
38 </div> 38 </div>
39 </label> 39 </label>
40 </div> 40 </div>
41 </div> 41 </div>
42 <div class="col-md-3"> 42 <div class="col-md-3">
43 <div class="card" style="width:100%"> 43 <div class="card" style="width:100%">
44 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 44 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
45 <img class="card-img-top" src="images/pune (1).png" style="width:100%"> 45 <img class="card-img-top" src="images/pune (1).png" style="width:100%">
46 <div class="card-block"> 46 <div class="card-block">
47 <div class="pull-left"> 47 <div class="pull-left">
48 <h4 class="card-title">Pune</h4> 48 <h4 class="card-title">Pune</h4>
49 <label class="card-sub-title">11th November,2017</label> 49 <label class="card-sub-title">11th November,2017</label>
50 </div> 50 </div>
51 <!-- <div class="pull-right"> 51 <!-- <div class="pull-right">
52 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('pune')">Apply</button> 52 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('pune')">Apply</button>
53 </div> --> 53 </div> -->
54 <div class="clearfix"></div> 54 <div class="clearfix"></div>
55 <label class="card-sub-title"><span style="color:red">Closed</span></label> 55 <label class="card-sub-title"><span style="color:red">Closed</span></label>
56 </div> 56 </div>
57 <div class="card-text2"> 57 <div class="card-text2">
58 <span><b>Location</b></span> 58 <span><b>Location</b></span>
59 <div class="card-text">Edugild, 9, MIT College Rd, Kothrud, Pune</div> 59 <div class="card-text">Edugild, 9, MIT College Rd, Kothrud, Pune</div>
60 </div> 60 </div>
61 </label> 61 </label>
62 </div> 62 </div>
63 </div> 63 </div>
64 <div class="col-md-3"> 64 <div class="col-md-3">
65 <div class="card" style="width:100%"> 65 <div class="card" style="width:100%">
66 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 66 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
67 <img class="card-img-top" src="images/Mumbai1.png" style="width:100%"> 67 <img class="card-img-top" src="images/Mumbai1.png" style="width:100%">
68 <div class="card-block"> 68 <div class="card-block">
69 <div class="pull-left"> 69 <div class="pull-left">
70 <h4 class="card-title">Mumbai</h4> 70 <h4 class="card-title">Mumbai</h4>
71 <label class="card-sub-title">13th November,2017</label> 71 <label class="card-sub-title">13th November,2017</label>
72 </div> 72 </div>
73 <div class="pull-right"> 73 <div class="pull-right">
74 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mumbai')">Apply</button> 74 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mumbai')">Apply</button>
75 </div> 75 </div>
76 <div class="clearfix"></div> 76 <div class="clearfix"></div>
77 <label class="card-sub-title"><span style="color:red"> Post deadline expires in</span> : <span id="mumbai"></span>*</label> 77 <label class="card-sub-title"><span style="color:red"> Post deadline expires in</span> : <span id="mumbai"></span>*</label>
78 </div> 78 </div>
79 <div class="card-text2"> 79 <div class="card-text2">
80 <span><b>Location</b></span> 80 <span><b>Location</b></span>
81 <div class="card-text">Zone Startups, Bombay Stock Exchange, Dalal Street, Mumbai</div> 81 <div class="card-text">Zone Startups, Bombay Stock Exchange, Dalal Street, Mumbai</div>
82 </div> 82 </div>
83 </label> 83 </label>
84 </div> 84 </div>
85 </div> 85 </div>
86 <div class="col-md-3"> 86 <div class="col-md-3">
87 <div class="card" style="width:100%"> 87 <div class="card" style="width:100%">
88 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 88 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
89 <img class="card-img-top" src="images/ahmedabad.jpg" style="width:100%"> 89 <img class="card-img-top" src="images/ahmedabad.jpg" style="width:100%">
90 <div class="card-block"> 90 <div class="card-block">
91 <div class="pull-left"> 91 <div class="pull-left">
92 <h4 class="card-title">Ahmedabad</h4> 92 <h4 class="card-title">Ahmedabad</h4>
93 <label class="card-sub-title">15th November,2017</label> 93 <label class="card-sub-title">15th November,2017</label>
94 </div> 94 </div>
95 <div class="pull-right"> 95 <div class="pull-right">
96 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('ahmedabad')">Apply</button> 96 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('ahmedabad')">Apply</button>
97 </div> 97 </div>
98 <div class="clearfix"></div> 98 <div class="clearfix"></div>
99 <label class="card-sub-title"><span style="color:red"> Post deadline expires in</span> : <span id="ahmedabad"></span>*</label> 99 <label class="card-sub-title"><span style="color:red"> Post deadline expires in</span> : <span id="ahmedabad"></span>*</label>
100 </div> 100 </div>
101 <div class="card-text2"> 101 <div class="card-text2">
102 <span><b>Location</b></span> 102 <span><b>Location</b></span>
103 <div class="card-text" style="padding-bottom:16px;">IIM-Ahmedabad, Gujarat</div> 103 <div class="card-text" style="padding-bottom:16px;">IIM-Ahmedabad, Gujarat</div>
104 </div> 104 </div>
105 </label> 105 </label>
106 </div> 106 </div>
107 </div> 107 </div>
108 </div> 108 </div>
109 </div> 109 </div>
110 <div class="clearfix"></div> 110 <div class="clearfix"></div>
111 <div class="stages card-align" style="margin-top: 2%;"> 111 <div class="stages card-align" style="margin-top: 2%;">
112 <div class="row"> 112 <div class="row">
113 <div class="col-md-3"> 113 <div class="col-md-3">
114 <div class="card" style="width:100%"> 114 <div class="card" style="width:100%">
115 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 115 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
116 <img class="card-img-top" src="images/jaipur_2 (1).jpg" style="width:100%"> 116 <img class="card-img-top" src="images/jaipur_2 (1).jpg" style="width:100%">
117 <div class="card-block"> 117 <div class="card-block">
118 <div class="pull-left"> 118 <div class="pull-left">
119 <h4 class="card-title">Jaipur</h4> 119 <h4 class="card-title">Jaipur</h4>
120 <label class="card-sub-title">17th November,2017</label> 120 <label class="card-sub-title">17th November,2017</label>
121 </div> 121 </div>
122 <div class="pull-right"> 122 <div class="pull-right">
123 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('jaipur')">Apply</button> 123 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('jaipur')">Apply</button>
124 </div> 124 </div>
125 <div class="clearfix"></div> 125 <div class="clearfix"></div>
126 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="jaipur"></span>*</label> 126 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="jaipur"></span>*</label>
127 </div> 127 </div>
128 <div class="card-text2"> 128 <div class="card-text2">
129 <span><b>Location</b></span> 129 <span><b>Location</b></span>
130 <div class="card-text">Startup Oasis, M-7, Sitapura Industrial Area, Jaipur</div> 130 <div class="card-text">Startup Oasis, M-7, Sitapura Industrial Area, Jaipur</div>
131 </div> 131 </div>
132 </label> 132 </label>
133 </div> 133 </div>
134 </div> 134 </div>
135 <div class="col-md-3"> 135 <div class="col-md-3">
136 <div class="card" style="width:100%"> 136 <div class="card" style="width:100%">
137 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 137 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
138 <img class="card-img-top" src="images/Hyderabad1.png" style="width:100%"> 138 <img class="card-img-top" src="images/Hyderabad1.png" style="width:100%">
139 <div class="card-block"> 139 <div class="card-block">
140 <div class="pull-left"> 140 <div class="pull-left">
141 <h4 class="card-title">Hyderabad</h4> 141 <h4 class="card-title">Hyderabad</h4>
142 <label class="card-sub-title">21st November,2017</label> 142 <label class="card-sub-title">21st November,2017</label>
143 </div> 143 </div>
144 <div class="pull-right"> 144 <div class="pull-right">
145 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('hyderabad')">Apply</button> 145 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('hyderabad')">Apply</button>
146 </div> 146 </div>
147 <div class="clearfix"></div> 147 <div class="clearfix"></div>
148 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="hyderabad"></span>*</label> 148 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="hyderabad"></span>*</label>
149 </div> 149 </div>
150 <div class="card-text2"> 150 <div class="card-text2">
151 <span><b>Location</b></span> 151 <span><b>Location</b></span>
152 <div class="card-text">T-Hub, IIIT-Hyderabad Campus, Gachibowli, Hyderabad</div> 152 <div class="card-text">T-Hub, IIIT-Hyderabad Campus, Gachibowli, Hyderabad</div>
153 </div> 153 </div>
154 </label> 154 </label>
155 </div> 155 </div>
156 </div> 156 </div>
157 <div class="col-md-3"> 157 <div class="col-md-3">
158 <div class="card" style="width:100%"> 158 <div class="card" style="width:100%">
159 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 159 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
160 <img class="card-img-top" src="images/bangalore (1).png" style="width:100%"> 160 <img class="card-img-top" src="images/bangalore (1).png" style="width:100%">
161 <div class="card-block"> 161 <div class="card-block">
162 <div class="pull-left"> 162 <div class="pull-left">
163 <h4 class="card-title">Bangalore</h4> 163 <h4 class="card-title">Bangalore</h4>
164 <label class="card-sub-title">23rd November,2017</label> 164 <label class="card-sub-title">23rd November,2017</label>
165 </div> 165 </div>
166 <div class="pull-right"> 166 <div class="pull-right">
167 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('bangalore')">Apply</button> 167 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('bangalore')">Apply</button>
168 </div> 168 </div>
169 <div class="clearfix"></div> 169 <div class="clearfix"></div>
170 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="bangalore"></span>*</label> 170 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="bangalore"></span>*</label>
171 </div> 171 </div>
172 <div class="card-text2"> 172 <div class="card-text2">
173 <span><b>Location</b></span> 173 <span><b>Location</b></span>
174 <div class="card-text" style="padding-bottom:16px;">Bangalore TBD</div> 174 <div class="card-text" style="padding-bottom:16px;">Bangalore TBD</div>
175 </div> 175 </div>
176 </label> 176 </label>
177 </div> 177 </div>
178 </div> 178 </div>
179 <div class="col-md-3"> 179 <div class="col-md-3">
180 <div class="card" style="width:100%"> 180 <div class="card" style="width:100%">
181 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 181 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
182 <img class="card-img-top" src="images/Delhi (3).png" style="width:100%"> 182 <img class="card-img-top" src="images/Delhi (3).png" style="width:100%">
183 <div class="card-block"> 183 <div class="card-block">
184 <div class="pull-left"> 184 <div class="pull-left">
185 <h4 class="card-title">Delhi</h4> 185 <h4 class="card-title">Delhi</h4>
186 <label class="card-sub-title">29th November,2017</label> 186 <label class="card-sub-title">29th November,2017</label>
187 </div> 187 </div>
188 <div class="pull-right"> 188 <div class="pull-right">
189 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('delhi')">Apply</button> 189 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('delhi')">Apply</button>
190 </div> 190 </div>
191 <div class="clearfix"></div> 191 <div class="clearfix"></div>
192 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="delhi"></span>*</label> 192 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="delhi"></span>*</label>
193 </div> 193 </div>
194 <div class="card-text2"> 194 <div class="card-text2">
195 <span><b>Location</b></span> 195 <span><b>Location</b></span>
196 <div class="card-text">Delhi Technological University, Shahbad Daulatpur, Delhi</div> 196 <div class="card-text">Delhi Technological University, Shahbad Daulatpur, Delhi</div>
197 </div> 197 </div>
198 </label> 198 </label>
199 </div> 199 </div>
200 </div> 200 </div>
201 </div> 201 </div>
202 </div> 202 </div>
203 <div class="clearfix"></div> 203 <div class="clearfix"></div>
204 <div class="stages card-align" style="margin-top: 2%;"> 204 <div class="stages card-align" style="margin-top: 2%;">
205 <div class="row"> 205 <div class="row">
206 <div class="col-md-3"> 206 <div class="col-md-3">
207 <div class="card" style="width:100%"> 207 <div class="card" style="width:100%">
208 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 208 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
209 <img class="card-img-top" src="images/chandigrh.jpg" style="width:100%"> 209 <img class="card-img-top" src="images/chandigrh.jpg" style="width:100%">
210 <div class="card-block"> 210 <div class="card-block">
211 <div class="pull-left"> 211 <div class="pull-left">
212 <h4 class="card-title">Chandigarh</h4> 212 <h4 class="card-title">Chandigarh</h4>
213 <label class="card-sub-title">2nd December,2017</label> 213 <label class="card-sub-title">2nd December,2017</label>
214 </div> 214 </div>
215 <div class="pull-right"> 215 <div class="pull-right">
216 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('chandigarh')">Apply</button> 216 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('chandigarh')">Apply</button>
217 </div> 217 </div>
218 <div class="clearfix"></div> 218 <div class="clearfix"></div>
219 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chandigarh"></span>*</label> 219 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="chandigarh"></span>*</label>
220 </div> 220 </div>
221 <div class="card-text2"> 221 <div class="card-text2">
222 <span><b>Location</b></span> 222 <span><b>Location</b></span>
223 <div class="card-text">TBD</div> 223 <div class="card-text">TBD</div>
224 </div> 224 </div>
225 </label> 225 </label>
226 </div> 226 </div>
227 </div> 227 </div>
228 <div class="col-md-3"> 228 <div class="col-md-3">
229 <div class="card" style="width:100%"> 229 <div class="card" style="width:100%">
230 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> 230 <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail">
231 <img class="card-img-top" src="images/main.jpg" style="width:100% "> 231 <img class="card-img-top" src="images/main.jpg" style="width:100% ">
232 <div class="card-block"> 232 <div class="card-block">
233 <div class="pull-left"> 233 <div class="pull-left">
234 <h4 class="card-title">Main Invest, Chandigarh</h4> 234 <h4 class="card-title">Main Invest, Chandigarh</h4>
235 <label class="card-sub-title">2nd & 3rd December, 2017</label> 235 <label class="card-sub-title">2nd & 3rd December, 2017</label>
236 </div> 236 </div>
237 <div class="pull-right"> 237 <div class="pull-right">
238 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mainevent')">Apply</button> 238 <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mainevent')">Apply</button>
239 </div> 239 </div>
240 <div class="clearfix"></div> 240 <div class="clearfix"></div>
241 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="maininvest"></span>*</label> 241 <label class="card-sub-title"><span style="color:red"> Early bird deadline</span> : <span id="maininvest"></span>*</label>
242 </div> 242 </div>
243 <div class="card-text2"> 243 <div class="card-text2">
244 <span><b>Location</b></span> 244 <span><b>Location</b></span>
245 <div class="card-text">TBD</div> 245 <div class="card-text">TBD</div>
246 </div> 246 </div>
247 </label> 247 </label>
248 </div> 248 </div>
249 </div> 249 </div>
250 </div> 250 </div>
251 </div> 251 </div>
252 <div class="clearfix"></div> 252 <div class="clearfix"></div>
253 </div> 253 </div>
254 </div> 254 </div>
255 <div class="clearfix"></div> 255 <div class="clearfix"></div>
256 <div style="display: none;" class="hiddenForm"> 256 <div style="display: none;" class="hiddenForm">
257 <div class="navbar-collapse"> 257 <div class="navbar-collapse">
258 <form name="applicantForm" id="signupForm"> 258 <form name="applicantForm" id="signupForm">
259 <div class="col-xs-12 col-md-10 col-md-offset-1"> 259 <div class="col-xs-12 col-md-10 col-md-offset-1">
260 <div class="hideform" ng-if="eventType"> 260 <div class="hideform" ng-if="eventType">
261 <p> 261 <p>
262 <ul style="padding-left: 2%;font-size: 15px;"><li>Access to 2-days conference</li> 262 <ul style="padding-left: 2%;font-size: 15px;"><li>Access to 2-days conference</li>
263 <li>Pitching for funding up to Rs 1 crore</li> 263 <li>Pitching for funding up to Rs 1 crore</li>
264 <li>Private interaction in khopchas</li> 264 <li>Private interaction in khopchas</li>
265 <li>Access to 30+ investors</li> 265 <li>Access to 30+ investors</li>
266 <li>Free lunch for the participants</li> 266 <li>Free lunch for the participants</li>
267 <li>Network with the biggest names in startup ecosystem</li></ul> 267 <li>Network with the biggest names in startup ecosystem</li></ul>
268 </p> 268 </p>
269 </div> 269 </div>
270 <div class="hideform" ng-if="mainType"> 270 <div class="hideform" ng-if="mainType">
271 <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p> 271 <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p>
272 <div class="stage-shadow"> 272 <div class="stage-shadow">
273 <div class="stages card-align"> 273 <div class="stages card-align">
274 <div class="col-xs-6 no-padding"> 274 <div class="col-xs-6 no-padding">
275 <div class="card stages-card"> 275 <div class="card stages-card">
276 <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage('Idea')"> 276 <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage('Idea')">
277 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> 277 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation">
278 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> 278 <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights">
279 <div class="card-content f-family"> 279 <div class="card-content f-family">
280 <p align="center"><b style="font-size:14px">Pitch your Idea</b></p> 280 <p align="center"><b style="font-size:14px">Pitch your Idea</b></p>
281 </div> 281 </div>
282 </label> 282 </label>
283 </div> 283 </div>
284 <div class="clearfix"></div> 284 <div class="clearfix"></div>
285 <div class="cards-content hidden-xs"> 285 <div class="cards-content hidden-xs">
286 <p> 286 <p>
287 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br> 287 &#x26AC; <span style="font-weight:bold">One idea will get a chance to pitch and 10lac guaranteed funding* T&C</span><br>
288 &#x26AC; Get feedback from mentors<br>
289 &#x26AC; Validate your idea.
290 </p> 288 </p>
291 </div> 289 </div>
292 </div> 290 </div>
293 <div class="col-xs-6 no-padding-mobile"> 291 <div class="col-xs-6 no-padding-mobile">
294 <div class="card stages-card margin-auto-mobile"> 292 <div class="card stages-card margin-auto-mobile">
295 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Product" id="Proof" ng-required="Product" ng-click="stage('Product')"> 293 <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Product" id="Proof" ng-required="Product" ng-click="stage('Product')">
296 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> 294 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof">
297 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> 295 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights">
298 <div class="card-content f-family"> 296 <div class="card-content f-family">
299 <p align="center"><b style="font-size:14px">Pitch your Product</b></p> 297 <p align="center"><b style="font-size:14px">Pitch your Startup</b></p>
300 </div> 298 </div>
301 </label> 299 </label>
302 </div> 300 </div>
303 <div class="clearfix"></div> 301 <div class="clearfix"></div>
304 <div class="cards-content hidden-xs"> 302 <div class="cards-content hidden-xs">
305 <p> 303 <p>
306 &#x26AC; <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> 304 &#x26AC; <span style="font-weight:bold">The top startup will get Rs 1crore prize in form of funding* T&C</span><br>
307 &#x26AC; Advice on fundraising<br>
308 &#x26AC; Advice on go-to-market strategy
309 </p> 305 </p>
310 </div> 306 </div>
311 </div> 307 </div>
312 <!--<div class="col-xs-4 no-padding"> 308 <!--<div class="col-xs-4 no-padding">
313 <div class="card stages-card right-stage-card"> 309 <div class="card stages-card right-stage-card">
314 <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Growth" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> 310 <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Growth" id="Beta" ng-required="Growth" ng-click="stage('Growth')">
315 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> 311 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta">
316 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> 312 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights">
317 <div class="card-content f-family"> 313 <div class="card-content f-family">
318 <p align="center">Growth</p> 314 <p align="center">Growth</p>
319 </div> 315 </div>
320 </label> 316 </label>
321 </div> 317 </div>
322 <div class="clearfix"></div> 318 <div class="clearfix"></div>
323 <div class="cards-content hidden-xs"> 319 <div class="cards-content hidden-xs">
324 <p> 320 <p>
325 &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br> 321 &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br>
326 &#x26AC; Connect with Series A investors<br> 322 &#x26AC; Connect with Series A investors<br>
327 &#x26AC; Connect and hire top startups 323 &#x26AC; Connect and hire top startups
328 </p> 324 </p>
329 </div> 325 </div>
330 </div> --> 326 </div> -->
331 <!-- <div class="col-xs-3 no-padding"> 327 <!-- <div class="col-xs-3 no-padding">
332 <div class="card stages-card"> 328 <div class="card stages-card">
333 <input type="radio" ng-model="data.stage" class="stageRadio" value="Visitor" name="Visitor" id="visit" ng-required="Visitor" ng-checked="true" checked="true" ng-click="stage('Visitor')"> 329 <input type="radio" ng-model="data.stage" class="stageRadio" value="Visitor" name="Visitor" id="visit" ng-required="Visitor" ng-checked="true" checked="true" ng-click="stage('Visitor')">
334 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="visit"> 330 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="visit">
335 <img class="stage-img stage-visit" src="images/idea-stage.png" alt="Lights"> 331 <img class="stage-img stage-visit" src="images/idea-stage.png" alt="Lights">
336 <div class="card-content f-family"> 332 <div class="card-content f-family">
337 <p align="center">Visitor</p> 333 <p align="center">Visitor</p>
338 </div> 334 </div>
339 </label> 335 </label>
340 </div> 336 </div>
341 <div class="clearfix"></div> 337 <div class="clearfix"></div>
342 <div class="cards-content hidden-xs"> 338 <div class="cards-content hidden-xs">
343 <p> 339 <p>
344 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br> 340 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br>
345 &#x26AC; Get feedback from mentors<br> 341 &#x26AC; Get feedback from mentors<br>
346 &#x26AC; Validate your idea. 342 &#x26AC; Validate your idea.
347 </p> 343 </p>
348 </div> 344 </div>
349 </div> --> 345 </div> -->
350 <div class="clearfix"></div> 346 <div class="clearfix"></div>
351 </div> 347 </div>
352 <div class="clearfix"></div> 348 <div class="clearfix"></div>
353 </div> 349 </div>
354 </div> 350 </div>
355 <div class="hidden-sm hidden-md hidden-lg"> 351 <div class="hidden-sm hidden-md hidden-lg">
356 <div class="cards-content" ng-if="data.stage == 'Idea'"> 352 <div class="cards-content" ng-if="data.stage == 'Idea'">
357 <p> 353 <p>
358 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br> 354 &#x26AC; <span style="font-weight:bold">One idea will get a chance to pitch and 10lac guaranteed funding* T&C</span><br>
359 &#x26AC; Get feedback from mentors<br>
360 &#x26AC; Validate your idea.
361 </p> 355 </p>
362 </div> 356 </div>
363 <div class="cards-content" ng-if="data.stage == 'Product'"> 357 <div class="cards-content" ng-if="data.stage == 'Product'">
364 <p> 358 <p>
365 &#x26AC; <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> 359 &#x26AC; <span style="font-weight:bold">The top startup will get Rs 1crore prize in form of funding* T&C</span><br>
366 &#x26AC; Advice on fundraising<br>
367 &#x26AC; Advice on go-to-market strategy
368 </p> 360 </p>
369 </div> 361 </div>
370 <div class="cards-content" ng-if="data.stage == 'Growth'"> 362 <!-- <div class="cards-content" ng-if="data.stage == 'Growth'">
371 <p> 363 <p>
372 &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br> 364 &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br>
373 &#x26AC; Connect with Series A investors<br> 365 &#x26AC; Connect with Series A investors<br>
374 &#x26AC; Connect and hire top startups 366 &#x26AC; Connect and hire top startups
375 </p> 367 </p>
376 </div> 368 </div> -->
377 <!-- <div class="cards-content" ng-if="data.stage == 'Visitor'"> 369 <!-- <div class="cards-content" ng-if="data.stage == 'Visitor'">
378 <p> 370 <p>
379 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br> 371 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br>
380 &#x26AC; Get feedback from mentors<br> 372 &#x26AC; Get feedback from mentors<br>
381 &#x26AC; Validate your idea. 373 &#x26AC; Validate your idea.
382 </p> 374 </p>
383 </div> --> 375 </div> -->
384 </div> 376 </div>
385 <!-- CLOSE STAGE SHADOW --> 377 <!-- CLOSE STAGE SHADOW -->
386 <div class="form-all"> 378 <div class="form-all">
387 <div class="col-xs-12 col-md-12 input-wrapper"> 379 <div class="col-xs-12 col-md-12 input-wrapper">
388 <div id="snackbar">Error ! Please fill in all fields.</div> 380 <div id="snackbar">Error ! Please fill in all fields.</div>
389 <div class="icon-circle-c"> 381 <div class="icon-circle-c">
390 <i class="material-icons" style="line-height: 31px;">person</i> 382 <i class="material-icons" style="line-height: 31px;">person</i>
391 </div> 383 </div>
392 <input type="text" class="text-input" required ng-model="data.name" placeholder="Name *" id="myBtn" name="name" ng-change="entername(data.name); firstNamekeyPress(data.name)"> 384 <input type="text" class="text-input" required ng-model="data.name" placeholder="Name *" id="myBtn" name="name" ng-change="entername(data.name); firstNamekeyPress(data.name)">
393 </div> 385 </div>
394 <!-- <div class="col-xs-12 col-md-6 input-wrapper"> 386 <!-- <div class="col-xs-12 col-md-6 input-wrapper">
395 <div id="snackbar">Error ! Please fill in all fields.</div> 387 <div id="snackbar">Error ! Please fill in all fields.</div>
396 <div class="icon-circle-x"> 388 <div class="icon-circle-x">
397 <i class="material-icons" style="line-height: 31px;">assignment_ind</i> 389 <i class="material-icons" style="line-height: 31px;">assignment_ind</i>
398 </div> 390 </div>
399 <input type="text" class="text-input" required ng-model="data.lastName" placeholder="Last Name *" id="myBtn" name="lastName" ng-change="entername(data.lastName); lastNamekeyPress(data.lastName)"> 391 <input type="text" class="text-input" required ng-model="data.lastName" placeholder="Last Name *" id="myBtn" name="lastName" ng-change="entername(data.lastName); lastNamekeyPress(data.lastName)">
400 392
401 </div> --> 393 </div> -->
402 <div class="col-xs-12 col-md-12 input-wrapper"> 394 <div class="col-xs-12 col-md-12 input-wrapper">
403 <div id="snackbar">Error ! Please fill in all fields.</div> 395 <div id="snackbar">Error ! Please fill in all fields.</div>
404 <div class="icon-circle-d"> 396 <div class="icon-circle-d">
405 <i class="material-icons" style="line-height: 30px;">email</i> 397 <i class="material-icons" style="line-height: 30px;">email</i>
406 </div> 398 </div>
407 <input type="email" name="email" style="margin-bottom:5px" 399 <input type="email" name="email" style="margin-bottom:5px"
408 ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address *" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)" ng-keyup="emailTest($event)"> 400 ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address *" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)" ng-keyup="emailTest($event)">
409 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> 401 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label>
410 <label ng-if="check">Email already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{emailId}}">Click here</a> to complete payment</label> 402 <label ng-if="check">Email already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{emailId}}">Click here</a> to complete payment</label>
411 <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> 403 <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label>
412 404
413 </div> 405 </div>
414 <!-- <div class="col-xs-12 col-md-6 input-wrapper f-family"> 406 <!-- <div class="col-xs-12 col-md-6 input-wrapper f-family">
415 <div class="icon-circle-f"> 407 <div class="icon-circle-f">
416 <i class="material-icons" style="line-height: 30px;">location_city</i> 408 <i class="material-icons" style="line-height: 30px;">location_city</i>
417 </div> 409 </div>
418 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;"> 410 <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;">
419 <option name="city" selected disabled value="">Choose City *</option> 411 <option name="city" selected disabled value="">Choose City *</option>
420 <option value="Agra">Agra</option> 412 <option value="Agra">Agra</option>
421 <option value="Ahmedabad">Ahmedabad</option> 413 <option value="Ahmedabad">Ahmedabad</option>
422 <option value="Ajmer">Ajmer</option> 414 <option value="Ajmer">Ajmer</option>
423 <option value="Aligarh">Aligarh</option> 415 <option value="Aligarh">Aligarh</option>
424 <option value="Allahabad">Allahabad</option> 416 <option value="Allahabad">Allahabad</option>
425 <option value="Ambattur">Ambattur</option> 417 <option value="Ambattur">Ambattur</option>
426 <option value="Amravati">Amravati</option> 418 <option value="Amravati">Amravati</option>
427 <option value="Amritsar">Amritsar</option> 419 <option value="Amritsar">Amritsar</option>
428 <option value="Asansol">Asansol</option> 420 <option value="Asansol">Asansol</option>
429 <option value="Aurangabad">Aurangabad</option> 421 <option value="Aurangabad">Aurangabad</option>
430 <option value="Bareilly">Bareilly</option> 422 <option value="Bareilly">Bareilly</option>
431 <option value="Belgaum">Belgaum</option> 423 <option value="Belgaum">Belgaum</option>
432 <option value="Bengaluru">Bengaluru</option> 424 <option value="Bengaluru">Bengaluru</option>
433 <option value="Bhavnagar">Bhavnagar</option> 425 <option value="Bhavnagar">Bhavnagar</option>
434 <option value="Bhayander">Bhayander</option> 426 <option value="Bhayander">Bhayander</option>
435 <option value="Bhilai Nagar">Bhilai Nagar</option> 427 <option value="Bhilai Nagar">Bhilai Nagar</option>
436 <option value="Bhiwandi">Bhiwandi</option> 428 <option value="Bhiwandi">Bhiwandi</option>
437 <option value="Bhopal">Bhopal</option> 429 <option value="Bhopal">Bhopal</option>
438 <option value="Bhubaneswar">Bhubaneswar</option> 430 <option value="Bhubaneswar">Bhubaneswar</option>
439 <option value="Bikaner">Bikaner</option> 431 <option value="Bikaner">Bikaner</option>
440 <option value="Chandigarh">Chandigarh</option> 432 <option value="Chandigarh">Chandigarh</option>
441 <option value="Chennai">Chennai</option> 433 <option value="Chennai">Chennai</option>
442 <option value="Chinchwad">Chinchwad</option> 434 <option value="Chinchwad">Chinchwad</option>
443 <option value="Coimbatore">Coimbatore</option> 435 <option value="Coimbatore">Coimbatore</option>
444 <option value="Cuttack">Cuttack</option> 436 <option value="Cuttack">Cuttack</option>
445 <option value="Dehradun">Dehradun</option> 437 <option value="Dehradun">Dehradun</option>
446 <option value="Delhi-NCR">Delhi-NCR</option> 438 <option value="Delhi-NCR">Delhi-NCR</option>
447 <option value="Dhanbad">Dhanbad</option> 439 <option value="Dhanbad">Dhanbad</option>
448 <option value="Dharwad">Dharwad</option> 440 <option value="Dharwad">Dharwad</option>
449 <option value="Dombivali">Dombivali</option> 441 <option value="Dombivali">Dombivali</option>
450 <option value="Durgapur">Durgapur</option> 442 <option value="Durgapur">Durgapur</option>
451 <option value="Faridabad">Faridabad</option> 443 <option value="Faridabad">Faridabad</option>
452 <option value="Firozabad">Firozabad</option> 444 <option value="Firozabad">Firozabad</option>
453 <option value="Gaya">Gaya</option> 445 <option value="Gaya">Gaya</option>
454 <option value="Ghaziabad">Ghaziabad</option> 446 <option value="Ghaziabad">Ghaziabad</option>
455 <option value="Gorakhpur">Gorakhpur</option> 447 <option value="Gorakhpur">Gorakhpur</option>
456 <option value="Gulbarga">Gulbarga</option> 448 <option value="Gulbarga">Gulbarga</option>
457 <option value="Guntur">Guntur</option> 449 <option value="Guntur">Guntur</option>
458 <option value="Gurgaon">Gurgaon</option> 450 <option value="Gurgaon">Gurgaon</option>
459 <option value="Guwahati">Guwahati</option> 451 <option value="Guwahati">Guwahati</option>
460 <option value="Gwalior">Gwalior</option> 452 <option value="Gwalior">Gwalior</option>
461 <option value="Haora">Haora</option> 453 <option value="Haora">Haora</option>
462 <option value="Hubli">Hubli</option> 454 <option value="Hubli">Hubli</option>
463 <option value="Hyderabad">Hyderabad</option> 455 <option value="Hyderabad">Hyderabad</option>
464 <option value="Indore">Indore</option> 456 <option value="Indore">Indore</option>
465 <option value="Jabalpur">Jabalpur</option> 457 <option value="Jabalpur">Jabalpur</option>
466 <option value="Jaipur">Jaipur</option> 458 <option value="Jaipur">Jaipur</option>
467 <option value="Jalandhar">Jalandhar</option> 459 <option value="Jalandhar">Jalandhar</option>
468 <option value="Jalgaon">Jalgaon</option> 460 <option value="Jalgaon">Jalgaon</option>
469 <option value="Jammu">Jammu</option> 461 <option value="Jammu">Jammu</option>
470 <option value="Jamnagar">Jamnagar</option> 462 <option value="Jamnagar">Jamnagar</option>
471 <option value="Jamshedpur">Jamshedpur</option> 463 <option value="Jamshedpur">Jamshedpur</option>
472 <option value="Jhansi">Jhansi</option> 464 <option value="Jhansi">Jhansi</option>
473 <option value="Jodhpur">Jodhpur</option> 465 <option value="Jodhpur">Jodhpur</option>
474 <option value="Kalyan">Kalyan</option> 466 <option value="Kalyan">Kalyan</option>
475 <option value="Kanpur">Kanpur</option> 467 <option value="Kanpur">Kanpur</option>
476 <option value="Kochi">Kochi</option> 468 <option value="Kochi">Kochi</option>
477 <option value="Kolapur">Kolapur</option> 469 <option value="Kolapur">Kolapur</option>
478 <option value="Kolkata">Kolkata</option> 470 <option value="Kolkata">Kolkata</option>
479 <option value="Kota">Kota</option> 471 <option value="Kota">Kota</option>
480 <option value="Loni">Loni</option> 472 <option value="Loni">Loni</option>
481 <option value="Lucknow">Lucknow</option> 473 <option value="Lucknow">Lucknow</option>
482 <option value="Ludhiana">Ludhiana</option> 474 <option value="Ludhiana">Ludhiana</option>
483 <option value="Madurai">Madurai</option> 475 <option value="Madurai">Madurai</option>
484 <option value="Maheshtala">Maheshtala</option> 476 <option value="Maheshtala">Maheshtala</option>
485 <option value="Malegoan">Malegoan</option> 477 <option value="Malegoan">Malegoan</option>
486 <option value="Mangalore">Mangalore</option> 478 <option value="Mangalore">Mangalore</option>
487 <option value="Meerut">Meerut</option> 479 <option value="Meerut">Meerut</option>
488 <option value="Mira">Mira</option> 480 <option value="Mira">Mira</option>
489 <option value="Moradabad">Moradabad</option> 481 <option value="Moradabad">Moradabad</option>
490 <option value="Mumbai">Mumbai</option> 482 <option value="Mumbai">Mumbai</option>
491 <option value="Mysore">Mysore</option> 483 <option value="Mysore">Mysore</option>
492 <option value="Nagpur">Nagpur</option> 484 <option value="Nagpur">Nagpur</option>
493 <option value="Nanded Waghala">Nanded Waghala</option> 485 <option value="Nanded Waghala">Nanded Waghala</option>
494 <option value="Nashik">Nashik</option> 486 <option value="Nashik">Nashik</option>
495 <option value="Navi Mumbai">Navi Mumbai</option> 487 <option value="Navi Mumbai">Navi Mumbai</option>
496 <option value="Nellore">Nellore</option> 488 <option value="Nellore">Nellore</option>
497 <option value="Noida">Noida</option> 489 <option value="Noida">Noida</option>
498 <option value="Patna">Patna</option> 490 <option value="Patna">Patna</option>
499 <option value="Pimpri">Pimpri</option> 491 <option value="Pimpri">Pimpri</option>
500 <option value="Pune">Pune</option> 492 <option value="Pune">Pune</option>
501 <option value="Raipur">Raipur</option> 493 <option value="Raipur">Raipur</option>
502 <option value="Rajkot">Rajkot</option> 494 <option value="Rajkot">Rajkot</option>
503 <option value="Ranchi">Ranchi</option> 495 <option value="Ranchi">Ranchi</option>
504 <option value="Saharanpur">Saharanpur</option> 496 <option value="Saharanpur">Saharanpur</option>
505 <option value="Salem">Salem</option> 497 <option value="Salem">Salem</option>
506 <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> 498 <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option>
507 <option value="Siliguri">Siliguri</option> 499 <option value="Siliguri">Siliguri</option>
508 <option value="Solapur">Solapur</option> 500 <option value="Solapur">Solapur</option>
509 <option value="Srinagar">Srinagar</option> 501 <option value="Srinagar">Srinagar</option>
510 <option value="Surat">Surat</option> 502 <option value="Surat">Surat</option>
511 <option value="Thane">Thane</option> 503 <option value="Thane">Thane</option>
512 <option value="Thiruvananthapuram">Thiruvananthapuram</option> 504 <option value="Thiruvananthapuram">Thiruvananthapuram</option>
513 <option value="Tiruchirappalli">Tiruchirappalli</option> 505 <option value="Tiruchirappalli">Tiruchirappalli</option>
514 <option value="Tirunelveli">Tirunelveli</option> 506 <option value="Tirunelveli">Tirunelveli</option>
515 <option value="Udaipur">Udaipur</option> 507 <option value="Udaipur">Udaipur</option>
516 <option value="Ujjain">Ujjain</option> 508 <option value="Ujjain">Ujjain</option>
517 <option value="Ulhasnagar">Ulhasnagar</option> 509 <option value="Ulhasnagar">Ulhasnagar</option>
518 <option value="Vadodara">Vadodara</option> 510 <option value="Vadodara">Vadodara</option>
519 <option value="Varanasi">Varanasi</option> 511 <option value="Varanasi">Varanasi</option>
520 <option value="Vasai Virar">Vasai Virar</option> 512 <option value="Vasai Virar">Vasai Virar</option>
521 <option value="Vijayawada">Vijayawada</option> 513 <option value="Vijayawada">Vijayawada</option>
522 <option value="Visakhapatnam">Visakhapatnam</option> 514 <option value="Visakhapatnam">Visakhapatnam</option>
523 <option value="Warangal">Warangal</option> 515 <option value="Warangal">Warangal</option>
524 <option value="anyOther">Any other</option> 516 <option value="anyOther">Any other</option>
525 </select> 517 </select>
526 </div> --> 518 </div> -->
527 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 519 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
528 <strong>Which city meet-up would you like to attend? </strong> 520 <strong>Which city meet-up would you like to attend? </strong>
529 <p class="line-space" ></p> 521 <p class="line-space" ></p>
530 </div> 522 </div>
531 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 523 <div class="col-xs-12 col-md-12 input-wrapper f-family">
532 <div class="icon-circle-p"> 524 <div class="icon-circle-p">
533 <i class="material-icons" style="line-height: 30px;">location_city</i> 525 <i class="material-icons" style="line-height: 30px;">location_city</i>
534 </div> 526 </div>
535 <select name="citymeetup" ng-model="data.citymeetup" ng-change="enterbusiness(data.citymeetup); businesskeyPress(data.citymeetup)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> 527 <select name="citymeetup" ng-model="data.citymeetup" ng-change="enterbusiness(data.citymeetup); businesskeyPress(data.citymeetup)" required style="background-color: #fff;border-radius: 0; font-size: 12px;">
536 <option selected disabled value="">City meet-up *</option> 528 <option selected disabled value="">City meet-up *</option>
537 <option value="Chennai">November 9: Chennai</option> 529 <option value="Chennai">November 9: Chennai</option>
538 <option value="Pune">November 11: Pune</option> 530 <option value="Pune">November 11: Pune</option>
539 <option value="Ahmedabad">November 13: Ahmedabad</option> 531 <option value="Ahmedabad">November 13: Ahmedabad</option>
540 <option value="Mumbai">November 17: Mumbai</option> 532 <option value="Mumbai">November 17: Mumbai</option>
541 <option value="Bengaluru">November 23: Bengaluru</option> 533 <option value="Bengaluru">November 23: Bengaluru</option>
542 <option value="Delhi">November 25: Delhi</option> 534 <option value="Delhi">November 25: Delhi</option>
543 <option value="Hyderabad">November 27: Hyderabad</option> 535 <option value="Hyderabad">November 27: Hyderabad</option>
544 <option value="Chandigarh">December 1: Chandigarh</option> 536 <option value="Chandigarh">December 1: Chandigarh</option>
545 </select> 537 </select>
546 </div> --> 538 </div> -->
547 <div class="col-xs-12 col-md-12 input-wrapper"> 539 <div class="col-xs-12 col-md-12 input-wrapper">
548 <div id="snackbar">Error ! Please fill in all fields.</div> 540 <div id="snackbar">Error ! Please fill in all fields.</div>
549 <div class="icon-circle-e"> 541 <div class="icon-circle-e">
550 <i class="material-icons" style="line-height: 30px;">phone</i> 542 <i class="material-icons" style="line-height: 30px;">phone</i>
551 </div> 543 </div>
552 <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No.*" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> 544 <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-model="data.number" placeholder="Mobile No.*" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)">
553 <label ng-if="numberCheck">Contact Number already exist.</label> 545 <label ng-if="numberCheck">Contact Number already exist.</label>
554 </div> 546 </div>
555 <div class="col-xs-12 col-md-12 input-wrapper"> 547 <div class="col-xs-12 col-md-12 input-wrapper">
556 <div id="snackbar">Error ! Please fill in all fields.</div> 548 <div id="snackbar">Error ! Please fill in all fields.</div>
557 <div class="icon-circle-x"> 549 <div class="icon-circle-x">
558 <i class="material-icons" style="line-height: 31px;">assignment_ind</i> 550 <i class="material-icons" style="line-height: 31px;">assignment_ind</i>
559 </div> 551 </div>
560 <input type="text" class="text-input" required ng-model="data.startupName" placeholder="Startup Name *" id="myBtn" name="startupName" ng-change="entername(data.startupName); startupNamekeyPress(data.startupName)"> 552 <input type="text" class="text-input" required ng-model="data.startupName" placeholder="Startup Name *" id="myBtn" name="startupName" ng-change="entername(data.startupName); startupNamekeyPress(data.startupName)">
561 </div> 553 </div>
562 <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> 554 <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative">
563 <div id="snackbar">Error ! Please fill in all fields.</div> 555 <div id="snackbar">Error ! Please fill in all fields.</div>
564 <div class="icon-circle-h"> 556 <div class="icon-circle-h">
565 <i class="material-icons" style="line-height: 31px;">link</i> 557 <i class="material-icons" style="line-height: 31px;">link</i>
566 </div> 558 </div>
567 <input type="text" class="text-input" ng-model="data.linkedInUrl" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="LinkedIn URL" id="myBtn" name="linkedInUrl" ng-change="entername(data.linkedInUrl); linkedInkeyPress(data.linkedInUrl)"> 559 <input type="text" class="text-input" ng-model="data.linkedInUrl" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="LinkedIn URL" id="myBtn" name="linkedInUrl" ng-change="entername(data.linkedInUrl); linkedInkeyPress(data.linkedInUrl)">
568 <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.linkedInUrl == undefined || data.linkedInUrl == ''" style="position:absolute; top: 10px; left: 116px; color: #999">*</span> 560 <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.linkedInUrl == undefined || data.linkedInUrl == ''" style="position:absolute; top: 10px; left: 116px; color: #999">*</span>
569 </div> --> 561 </div> -->
570 <!-- <div class="hideform" ng-if="visitType"> --> 562 <!-- <div class="hideform" ng-if="visitType"> -->
571 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 563 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
572 <strong>Explain your idea/product briefly</strong> 564 <strong>Explain your idea/product briefly</strong>
573 <p class="line-space" ></p> 565 <p class="line-space" ></p>
574 </div> 566 </div>
575 <div class="col-xs-12 col-md-12 input-wrapper"> 567 <div class="col-xs-12 col-md-12 input-wrapper">
576 <div id="snackbar">Error ! Please fill in all fields.</div> 568 <div id="snackbar">Error ! Please fill in all fields.</div>
577 <div class="icon-circle-q"> 569 <div class="icon-circle-q">
578 <i class="material-icons" style="line-height: 31px;">thumb_up</i> 570 <i class="material-icons" style="line-height: 31px;">thumb_up</i>
579 </div> 571 </div>
580 <textarea type="text" maxlength="300" class="text-input" required ng-model="data.idea" placeholder="Idea/Product *" id="myBtn" name="Idea" ng-focus="removeNooError()" ng-change="entername(data.idea); ideakeyPress(data.idea)"> 572 <textarea type="text" maxlength="300" class="text-input" required ng-model="data.idea" placeholder="Idea/Product *" id="myBtn" name="Idea" ng-focus="removeNooError()" ng-change="entername(data.idea); ideakeyPress(data.idea)">
581 </textarea> 573 </textarea>
582 <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> 574 <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label>
583 </div> 575 </div>
584 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 576 <div class="col-xs-12 col-md-12 input-wrapper f-family">
585 <div class="icon-circle-abcdefg"> 577 <div class="icon-circle-abcdefg">
586 <i class="material-icons" style="line-height: 30px;">open_with</i> 578 <i class="material-icons" style="line-height: 30px;">open_with</i>
587 </div> 579 </div>
588 <select name="industry" ng-model="data.industry" ng-change="industry(data.industry); industrykeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="dataIndustry"> 580 <select name="industry" ng-model="data.industry" ng-change="industry(data.industry); industrykeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="dataIndustry">
589 <option selected disabled value="">Choose Industry *</option> 581 <option selected disabled value="">Choose Industry *</option>
590 <option value="Travel">Travel</option> 582 <option value="Travel">Travel</option>
591 <option value="Retail">Retail</option> 583 <option value="Retail">Retail</option>
592 <option value="Editech">Editech</option> 584 <option value="Editech">Editech</option>
593 <option value="Fintech">Fintech</option> 585 <option value="Fintech">Fintech</option>
594 <option value="Hardware">Hardware</option> 586 <option value="Hardware">Hardware</option>
595 <option value="Digital">Digital</option> 587 <option value="Digital">Digital</option>
596 <option value="Rural">Rural</option> 588 <option value="Rural">Rural</option>
597 <option value="others">Others</option> 589 <option value="others">Others</option>
598 </select> 590 </select>
599 </div> 591 </div>
600 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther"> 592 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther">
601 <div id="snackbar">Error ! Please fill in all fields.</div> 593 <div id="snackbar">Error ! Please fill in all fields.</div>
602 <div class="icon-circle-o"> 594 <div class="icon-circle-o">
603 <i class="material-icons" style="line-height: 31px;">open_with</i> 595 <i class="material-icons" style="line-height: 31px;">open_with</i>
604 </div> 596 </div>
605 <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name"> 597 <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name">
606 </div> --> 598 </div> -->
607 <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> 599 <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative">
608 <div id="snackbar">Error ! Please fill in all fields.</div> 600 <div id="snackbar">Error ! Please fill in all fields.</div>
609 <div class="icon-circle-i"> 601 <div class="icon-circle-i">
610 <i class="material-icons" style="line-height: 31px;">business</i> 602 <i class="material-icons" style="line-height: 31px;">business</i>
611 </div> 603 </div>
612 <input type="text" class="text-input" ng-model="data.companyName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Company Name" id="myBtn" name="companyName" ng-change="entername(data.companyName); companykeyPress(data.companyName)"> 604 <input type="text" class="text-input" ng-model="data.companyName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Company Name" id="myBtn" name="companyName" ng-change="entername(data.companyName); companykeyPress(data.companyName)">
613 <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.companyName == undefined || data.companyName == ''" style="position:absolute; top: 10px; left: 130px; color: #999">*</span> 605 <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.companyName == undefined || data.companyName == ''" style="position:absolute; top: 10px; left: 130px; color: #999">*</span>
614 </div> 606 </div>
615 <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> 607 <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative">
616 <div id="snackbar">Error ! Please fill in all fields.</div> 608 <div id="snackbar">Error ! Please fill in all fields.</div>
617 <div class="icon-circle-j"> 609 <div class="icon-circle-j">
618 <i class="material-icons" style="line-height: 31px;">view_comfy</i> 610 <i class="material-icons" style="line-height: 31px;">view_comfy</i>
619 </div> 611 </div>
620 <input type="text" class="text-input" ng-model="data.productName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Product Name" id="myBtn" name="productName" ng-change="entername(data.productName); productNamekeyPress(data.productName)"> 612 <input type="text" class="text-input" ng-model="data.productName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Product Name" id="myBtn" name="productName" ng-change="entername(data.productName); productNamekeyPress(data.productName)">
621 <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.productName == undefined || data.productName == ''" style="position:absolute; top: 10px; left: 120px; color: #999">*</span> 613 <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.productName == undefined || data.productName == ''" style="position:absolute; top: 10px; left: 120px; color: #999">*</span>
622 </div> 614 </div>
623 <div class="hideform" ng-if="prototyp"> 615 <div class="hideform" ng-if="prototyp">
624 <div class="hideform" ng-if="protyp"> 616 <div class="hideform" ng-if="protyp">
625 <div class="col-xs-12 col-md-12 f-family line-adjust"> 617 <div class="col-xs-12 col-md-12 f-family line-adjust">
626 <strong>Product Launched? </strong> 618 <strong>Product Launched? </strong>
627 <p class="line-space" ></p> 619 <p class="line-space" ></p>
628 </div> 620 </div>
629 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 621 <div class="col-xs-12 col-md-12 input-wrapper f-family">
630 <div class="icon-circle-ab"> 622 <div class="icon-circle-ab">
631 <i class="material-icons" style="line-height: 30px;">launch</i> 623 <i class="material-icons" style="line-height: 30px;">launch</i>
632 </div> 624 </div>
633 <select name="productLaunch" ng-model="data.productLaunch" ng-change="productLaunch(data.productLaunch); productLaunchkeyPress()" ng-click="productCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="productDiv"> 625 <select name="productLaunch" ng-model="data.productLaunch" ng-change="productLaunch(data.productLaunch); productLaunchkeyPress()" ng-click="productCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="productDiv">
634 <option selected disabled value="">Select *</option> 626 <option selected disabled value="">Select *</option>
635 <option value="yes">Yes</option> 627 <option value="yes">Yes</option>
636 <option value="no">No</option> 628 <option value="no">No</option>
637 </select> 629 </select>
638 </div> 630 </div>
639 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'"> 631 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'">
640 <strong>Product Launch Period </strong> 632 <strong>Product Launch Period </strong>
641 <p class="line-space" ></p> 633 <p class="line-space" ></p>
642 </div> 634 </div>
643 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'"> 635 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'">
644 <div class="icon-circle-abc"> 636 <div class="icon-circle-abc">
645 <i class="material-icons" style="line-height: 30px;">launch</i> 637 <i class="material-icons" style="line-height: 30px;">launch</i>
646 </div> 638 </div>
647 <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> 639 <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;">
648 <option selected disabled value="">Select</option> 640 <option selected disabled value="">Select</option>
649 <option value="less than 1 Month">less than one month</option> 641 <option value="less than 1 Month">less than one month</option>
650 <option value="less than 6 Months">less than 6 months</option> 642 <option value="less than 6 Months">less than 6 months</option>
651 <option value="more than 6 Months">more than 6 months</option> 643 <option value="more than 6 Months">more than 6 months</option>
652 </select> 644 </select>
653 </div> 645 </div>
654 </div> 646 </div>
655 <div class="col-xs-12 col-md-6 input-wrapper"> 647 <div class="col-xs-12 col-md-6 input-wrapper">
656 <div id="snackbar">Error ! Please fill in all fields.</div> 648 <div id="snackbar">Error ! Please fill in all fields.</div>
657 <div class="icon-circle-k"> 649 <div class="icon-circle-k">
658 <i class="material-icons" style="line-height: 31px;">web</i> 650 <i class="material-icons" style="line-height: 31px;">web</i>
659 </div> 651 </div>
660 <input type="text" class="text-input" ng-model="data.websiteUrl" ng-required="Productshow == 'yes'" placeholder="Website URL *" id="myBtn" name="websiteUrl" ng-change="entername(data.websiteUrl); websitekeyPress(data.websiteUrl)"> 652 <input type="text" class="text-input" ng-model="data.websiteUrl" ng-required="Productshow == 'yes'" placeholder="Website URL *" id="myBtn" name="websiteUrl" ng-change="entername(data.websiteUrl); websitekeyPress(data.websiteUrl)">
661 </div> 653 </div>
662 <div class="col-xs-12 col-md-6 input-wrapper"> 654 <div class="col-xs-12 col-md-6 input-wrapper">
663 <div id="snackbar">Error ! Please fill in all fields.</div> 655 <div id="snackbar">Error ! Please fill in all fields.</div>
664 <div class="icon-circle-m"> 656 <div class="icon-circle-m">
665 <i class="material-icons" style="line-height: 31px;">link</i> 657 <i class="material-icons" style="line-height: 31px;">link</i>
666 </div> 658 </div>
667 <input type="text" class="text-input" ng-model="data.demoLink" ng-required="Productshow == 'yes'" placeholder="Link to your product/app/demo *" id="myBtn" name="demoLink" ng-change="entername(data.demoLink); annualkeyPress(data.demoLink)"> 659 <input type="text" class="text-input" ng-model="data.demoLink" ng-required="Productshow == 'yes'" placeholder="Link to your product/app/demo *" id="myBtn" name="demoLink" ng-change="entername(data.demoLink); annualkeyPress(data.demoLink)">
668 </div> 660 </div>
669 <div class="col-xs-12 col-md-6 input-wrapper"> 661 <div class="col-xs-12 col-md-6 input-wrapper">
670 <div id="snackbar">Error ! Please fill in all fields.</div> 662 <div id="snackbar">Error ! Please fill in all fields.</div>
671 <div class="icon-circle-l"> 663 <div class="icon-circle-l">
672 <i class="material-icons" style="line-height: 31px;">format_list_numbered</i> 664 <i class="material-icons" style="line-height: 31px;">format_list_numbered</i>
673 </div> 665 </div>
674 <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-required="Productshow == 'yes'" ng-model="data.numberOfEmployees" placeholder="Number of Employees *" id="myBtn" name="numberOfEmployees" ng-change="entername(data.numberOfEmployees); employeekeyPress(data.numberOfEmployees)"> 666 <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-required="Productshow == 'yes'" ng-model="data.numberOfEmployees" placeholder="Number of Employees *" id="myBtn" name="numberOfEmployees" ng-change="entername(data.numberOfEmployees); employeekeyPress(data.numberOfEmployees)">
675 </div> 667 </div>
676 <div class="col-xs-12 col-md-6 input-wrapper"> 668 <div class="col-xs-12 col-md-6 input-wrapper">
677 <div id="snackbar">Error ! Please fill in all fields.</div> 669 <div id="snackbar">Error ! Please fill in all fields.</div>
678 <div class="icon-circle-n"> 670 <div class="icon-circle-n">
679 <i class="material-icons" style="line-height: 31px;">view_stream</i> 671 <i class="material-icons" style="line-height: 31px;">view_stream</i>
680 </div> 672 </div>
681 <input type="text" class="text-input" ng-model="data.revenueMonth" ng-required="Productshow == 'yes'" placeholder="Monthly Revenue *" id="myBtn" name="revenueMonth" ng-change="entername(data.revenueMonth); revenuekeyPress(data.revenueMonth)"> 673 <input type="text" class="text-input" ng-model="data.revenueMonth" ng-required="Productshow == 'yes'" placeholder="Monthly Revenue *" id="myBtn" name="revenueMonth" ng-change="entername(data.revenueMonth); revenuekeyPress(data.revenueMonth)">
682 </div> 674 </div>
683 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 675 <div class="col-xs-12 col-md-12 input-wrapper f-family">
684 <p><b>Have you risen any funding yet?</b></p> 676 <p><b>Have you risen any funding yet?</b></p>
685 <div class="icon-circle-bc"> 677 <div class="icon-circle-bc">
686 <i class="material-icons" style="line-height: 30px;">payment</i> 678 <i class="material-icons" style="line-height: 30px;">payment</i>
687 </div> 679 </div>
688 <select name="amount" ng-model="data.amount" ng-required="Productshow == 'yes'" ng-change="amount(data.amount); amountkeyPress()" ng-click="textCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="fundingDiv"> 680 <select name="amount" ng-model="data.amount" ng-required="Productshow == 'yes'" ng-change="amount(data.amount); amountkeyPress()" ng-click="textCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="fundingDiv">
689 <option selected disabled value="">Select *</option> 681 <option selected disabled value="">Select *</option>
690 <option value="yes">Yes</option> 682 <option value="yes">Yes</option>
691 <option value="no">No</option> 683 <option value="no">No</option>
692 </select> 684 </select>
693 </div> 685 </div>
694 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'"> 686 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'">
695 <div class="icon-circle-y" > 687 <div class="icon-circle-y" >
696 <i class="material-icons" style="line-height: 31px;">money</i> 688 <i class="material-icons" style="line-height: 31px;">money</i>
697 </div> 689 </div>
698 <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input> 690 <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input>
699 </div> 691 </div>
700 </div> --> 692 </div> -->
701 <!-- </div> --> 693 <!-- </div> -->
702 <!-- <div class="identity-shadow"> 694 <!-- <div class="identity-shadow">
703 <div class="icon-circle-bc"> 695 <div class="icon-circle-bc">
704 <i class="material-icons" style="line-height: 30px;">payment</i> 696 <i class="material-icons" style="line-height: 30px;">payment</i>
705 </div> 697 </div>
706 <div class="identity-question"> 698 <div class="identity-question">
707 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> 699 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;">
708 <b>Have you risen any funding yet?</b> 700 <b>Have you risen any funding yet?</b>
709 <p style="color:grey"></p> 701 <p style="color:grey"></p>
710 </div> 702 </div>
711 <div class="clearfix"></div> 703 <div class="clearfix"></div>
712 </div> 704 </div>
713 <div class="stages identity-align"> 705 <div class="stages identity-align">
714 <div class="col-xs-12"> 706 <div class="col-xs-12">
715 <label class="card-small margin-right-label"> 707 <label class="card-small margin-right-label">
716 <input type="radio" value="yes" ng-model="data.amount" class="option-input-a radio-a pull-left" id="yesRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('yes')" name="amount" > 708 <input type="radio" value="yes" ng-model="data.amount" class="option-input-a radio-a pull-left" id="yesRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('yes')" name="amount" >
717 <label class="f-family pull-left width-auto" for="yesRadio">Yes</label> 709 <label class="f-family pull-left width-auto" for="yesRadio">Yes</label>
718 </label> 710 </label>
719 <label class="card-small margin-right-label"> 711 <label class="card-small margin-right-label">
720 <input type="radio" value="no" ng-model="data.amount" class="option-input-a radio-a pull-left" id="noRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('no')" name="amount" > 712 <input type="radio" value="no" ng-model="data.amount" class="option-input-a radio-a pull-left" id="noRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('no')" name="amount" >
721 713
722 <label class="f-family pull-left width-auto" for="noRadio">No</label> 714 <label class="f-family pull-left width-auto" for="noRadio">No</label>
723 </label> 715 </label>
724 </div> 716 </div>
725 </div> 717 </div>
726 718
727 <div class="clearfix"></div> 719 <div class="clearfix"></div>
728 </div> --> 720 </div> -->
729 <div class="col-xs-12 input-wrapper"> 721 <div class="col-xs-12 input-wrapper">
730 <div class="referel-icon" style="z-index: 999;"> 722 <div class="referel-icon" style="z-index: 999;">
731 <i class="material-icons" style="line-height: 30px;">code</i> 723 <i class="material-icons" style="line-height: 30px;">code</i>
732 </div> 724 </div>
733 <input class="text-input" ng-model="data.referalToken" maxlength="6" minlength="6" placeholder="Enter Promo code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> 725 <input class="text-input" ng-model="data.referalToken" maxlength="6" minlength="6" placeholder="Enter Promo code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)">
734 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> 726 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i>
735 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> 727 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i>
736 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> 728 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply Promo</button>
737 </div> 729 </div>
738 <span style="padding-left:10px">* One ticket is valid for one person.</span> 730 <span style="padding-left:10px">* One ticket is valid for one person.</span>
739 <div class="clearfix"></div> 731 <div class="clearfix"></div>
740 <div class="text-center"> 732 <div class="text-center">
741 <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> 733 <input type="submit" style="width:200px" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()">
742 </div> 734 </div>
743 735
744 </div> 736 </div>
745 </div> 737 </div>
746 <!-- CLOSE step-two-form --> 738 <!-- CLOSE step-two-form -->
747 </div> 739 </div>
748 <!-- col-xs-12 col-md-8 col-md-offset-2 --> 740 <!-- col-xs-12 col-md-8 col-md-offset-2 -->
749 </form> 741 </form>
750 </div> 742 </div>
751 </div> 743 </div>
752 <!-- CLOSE FORM --> 744 <!-- CLOSE FORM -->
753 <footer> 745 <footer>
754 <img id="footer" class="img-responsive banner"> 746 <img id="footer" class="img-responsive banner">
755 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> 747 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center>
756 </footer> 748 </footer>
757 <!-- </div> CLOSE CHECK VIEW --> 749 <!-- </div> CLOSE CHECK VIEW -->
758 <div ng-if="verifyView"> 750 <div ng-if="verifyView">
759 <div style="margin-bottom: 0px;" class="text-center"> 751 <div style="margin-bottom: 0px;" class="text-center">
760 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> 752 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()">
761 </div> 753 </div>
762 </div> 754 </div>
763 </div> <!-- CLOSE NEW-CONTROLLER --> 755 </div> <!-- CLOSE NEW-CONTROLLER -->
764 <!-- <div id="snacsskbar">Registration done successfully.</div> 756 <!-- <div id="snacsskbar">Registration done successfully.</div>
765 --><!-- <div class="modal fade" id="myModal" role="dialog"> 757 --><!-- <div class="modal fade" id="myModal" role="dialog">
766 <div class="modal-dialog" style="left: auto;"> 758 <div class="modal-dialog" style="left: auto;">
767 <div class="modal-content"> 759 <div class="modal-content">
768 <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> 760 <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4>
769 <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> 761 <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px">
770 <tbody style="background-color:#f9f9f9"> 762 <tbody style="background-color:#f9f9f9">
771 <tr> 763 <tr>
772 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 764 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
773 </tr> 765 </tr>
774 <tr> 766 <tr>
775 <td align="left" valign="top" style="padding:10px"> 767 <td align="left" valign="top" style="padding:10px">
776 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 768 <table width="100%" border="0" cellspacing="0" cellpadding="0">
777 <tbody> 769 <tbody>
778 <tr> 770 <tr>
779 <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> 771 <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td>
780 </tr> 772 </tr>
781 </tbody> 773 </tbody>
782 </table> 774 </table>
783 </td> 775 </td>
784 </tr> 776 </tr>
785 </tbody> 777 </tbody>
786 <tbody> 778 <tbody>
787 <tr> 779 <tr>
788 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 780 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
789 </tr> 781 </tr>
790 <tr> 782 <tr>
791 <td align="left" valign="top" style="padding:10px"> 783 <td align="left" valign="top" style="padding:10px">
792 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 784 <table width="100%" border="0" cellspacing="0" cellpadding="0">
793 <tbody> 785 <tbody>
794 <tr> 786 <tr>
795 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> 787 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td>
796 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> 788 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td>
797 </tr> 789 </tr>
798 </tbody> 790 </tbody>
799 </table> 791 </table>
800 </td> 792 </td>
801 </tr> 793 </tr>
802 <tr> 794 <tr>
803 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 795 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
804 </tr> 796 </tr>
805 <tr> 797 <tr>
806 <td align="left" valign="top" style="padding:10px"> 798 <td align="left" valign="top" style="padding:10px">
807 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 799 <table width="100%" border="0" cellspacing="0" cellpadding="0">
808 <tbody> 800 <tbody>
809 <tr> 801 <tr>
810 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> 802 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td>
811 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> 803 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td>
812 </tr> 804 </tr>
813 </tbody> 805 </tbody>
814 </table> 806 </table>
815 </td> 807 </td>
816 </tr> 808 </tr>
817 <tr> 809 <tr>
818 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 810 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
819 </tr> 811 </tr>
820 <tr> 812 <tr>
821 <td align="left" valign="top" style="padding:10px"> 813 <td align="left" valign="top" style="padding:10px">
822 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 814 <table width="100%" border="0" cellspacing="0" cellpadding="0">
823 <tbody> 815 <tbody>
824 <tr> 816 <tr>
825 <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> 817 <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td>
826 <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> 818 <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td>
827 </tr> 819 </tr>
828 </tbody> 820 </tbody>
829 </table> 821 </table>
830 </td> 822 </td>
831 </tr> 823 </tr>
832 <tr> 824 <tr>
833 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 825 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
834 </tr> 826 </tr>
835 <tr> 827 <tr>
836 <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> 828 <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px">
837 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 829 <table width="100%" border="0" cellspacing="0" cellpadding="0">
838 <tbody> 830 <tbody>
839 <tr> 831 <tr>
840 <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> 832 <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td>
841 <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> 833 <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td>
842 </tr> 834 </tr>
843 </tbody> 835 </tbody>
844 </table> 836 </table>
845 </td> 837 </td>
846 </tr> 838 </tr>
847 <tr> 839 <tr>
848 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 840 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
849 </tr> 841 </tr>
850 </tbody> 842 </tbody>
851 </table> 843 </table>
852 <div style="text-align:center;margin-bottom:5%"> 844 <div style="text-align:center;margin-bottom:5%">
853 <button type="button" style="color:#fff;background-color:#4CAF50;margin-top:5%" class="btn btn-default" data-dismiss="modal" ng-click="create()">Proceed to Pay</button> 845 <button type="button" style="color:#fff;background-color:#4CAF50;margin-top:5%" class="btn btn-default" data-dismiss="modal" ng-click="create()">Proceed to Pay</button>
854 </div> 846 </div>
855 </div> 847 </div>
856 </div> 848 </div>
857 </div> 849 </div>
858 850
859 <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> 851 <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()">
860 <div class="modal-dialog" style="left: auto;"> 852 <div class="modal-dialog" style="left: auto;">
861 <div class="modal-content" > 853 <div class="modal-content" >
862 854
863 <div class="modal-body" style="text-align: right;" > 855 <div class="modal-body" style="text-align: right;" >
864 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> 856 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i>
865 <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> 857 <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe>
866 </div> 858 </div>
867 859
868 </div> 860 </div>
869 </div> 861 </div>
870 </div> 862 </div>
871 863
872 864
873 <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> 865 <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()">
874 <div class="modal-dialog" style="left: auto;"> 866 <div class="modal-dialog" style="left: auto;">
875 <div class="modal-content"> 867 <div class="modal-content">
876 <div class="modal-body" style="text-align: right;" > 868 <div class="modal-body" style="text-align: right;" >
877 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> 869 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i>
878 <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> 870 <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe>
879 </div> 871 </div>
880 872
881 </div> 873 </div>
882 </div> 874 </div>
883 </div> 875 </div>
884 876
885 877
886 878
887 879
888 880
889 881
890 --> 882 -->
891 <span ng-show="span == true"> 883 <span ng-show="span == true">
892 <span id="chennai"></span> 884 <span id="chennai"></span>
893 <span id="pune"></span> 885 <span id="pune"></span>
894 <span id="mumbai"></span> 886 <span id="mumbai"></span>
895 <span id="hyderabad"></span> 887 <span id="hyderabad"></span>
896 <span id="chandigarh"></span> 888 <span id="chandigarh"></span>
897 <span id="delhi"></span> 889 <span id="delhi"></span>
898 <span id="ahmedabad"></span> 890 <span id="ahmedabad"></span>
899 <span id="bangalore"></span> 891 <span id="bangalore"></span>
900 <span id="jaipur"></span> 892 <span id="jaipur"></span>
901 <span id="maininvest"></span> 893 <span id="maininvest"></span>
902 </span> 894 </span>
903 895
904 896
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) { 5 scotchApp.config(function($routeProvider) {
6 $routeProvider 6 $routeProvider
7 7
8 // route for the Home page 8 // route for the Home page
9 .when('/', { 9 .when('/', {
10 templateUrl: 'pages/Home.html', 10 templateUrl: 'pages/Home.html',
11 controller: 'mainController' 11 controller: 'mainController'
12 }) 12 })
13 13
14 // route for the registration page 14 // route for the registration page
15 .when('/registration', { 15 .when('/registration', {
16 templateUrl: 'pages/registration.html', 16 templateUrl: 'pages/registration.html',
17 controller: 'mainController' 17 controller: 'mainController'
18 }) 18 })
19 19
20 // route for the paymentVerify page 20 // route for the paymentVerify page
21 .when('/pendingPayment/:id', { 21 .when('/pendingPayment/:id', {
22 templateUrl: 'pages/verify.html', 22 templateUrl: 'pages/verify.html',
23 controller: 'verifyController' 23 controller: 'verifyController'
24 }) 24 })
25 25
26 // route for the ambassador page 26 // route for the ambassador page
27 .when('/startupJalsaPromocode', { 27 .when('/startupJalsaPromocode', {
28 templateUrl: 'pages/ambassador.html', 28 templateUrl: 'pages/ambassador.html',
29 controller: 'ambassadorController' 29 controller: 'ambassadorController'
30 }) 30 })
31 31
32 // route for the confirmation page 32 // route for the confirmation page
33 .when('/confirmation', { 33 .when('/confirmation', {
34 templateUrl: 'pages/confirmation.html', 34 templateUrl: 'pages/confirmation.html',
35 controller: 'mainController' 35 controller: 'mainController'
36 }) 36 })
37 37
38 }); 38 });
39 39
40 scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { 40 scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) {
41 // Add configuration code as desired 41 // Add configuration code as desired
42 AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code 42 AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code
43 43
44 // Track all routes (default is true). 44 // Track all routes (default is true).
45 AnalyticsProvider.trackPages(true); 45 AnalyticsProvider.trackPages(true);
46 46
47 // Track all URL query params (default is false). 47 // Track all URL query params (default is false).
48 AnalyticsProvider.trackUrlParams(true); 48 AnalyticsProvider.trackUrlParams(true);
49 49
50 }]).run(['Analytics', function(Analytics) { }]); 50 }]).run(['Analytics', function(Analytics) { }]);
51 51
52 scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/v1") 52 scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/v1")
53 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") 53 //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1")
54 54
55 // create the controller and inject Angular's $scope 55 // create the controller and inject Angular's $scope
56 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { 56 scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) {
57 $scope.data = { 57 $scope.data = {
58 show: true, 58 show: true,
59 hide: false 59 hide: false
60 }; 60 };
61 61
62 var maininvest = new Date("Nov 30, 2017 12:00:00").getTime(); 62 var maininvest = new Date("Nov 30, 2017 12:00:00").getTime();
63 // Update the count down every 1 second 63 // Update the count down every 1 second
64 var x = setInterval(function() { 64 var x = setInterval(function() {
65 // Get todays date and time 65 // Get todays date and time
66 var now = new Date().getTime(); 66 var now = new Date().getTime();
67 // Find the distance between now an the count down date 67 // Find the distance between now an the count down date
68 var distance = maininvest - now; 68 var distance = maininvest - now;
69 // Time calculations for days, hours, minutes and seconds 69 // Time calculations for days, hours, minutes and seconds
70 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 70 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
71 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 71 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
72 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 72 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
73 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 73 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
74 $scope.timer = days + "d " + hours + "h " 74 $scope.timer = days + "d " + hours + "h "
75 + minutes + "m " + seconds + "s " 75 + minutes + "m " + seconds + "s "
76 // Output the result in an element with id="demo" 76 // Output the result in an element with id="demo"
77 document.getElementById("maininvest").innerHTML = days + "d " + hours + "h " 77 document.getElementById("maininvest").innerHTML = days + "d " + hours + "h "
78 + minutes + "m " + seconds + "s "; 78 + minutes + "m " + seconds + "s ";
79 // If the count down is over, write some text 79 // If the count down is over, write some text
80 if (distance < 0) { 80 if (distance < 0) {
81 // $scope.extendedAmount = 81 // $scope.extendedAmount =
82 clearInterval(x); 82 clearInterval(x);
83 document.getElementById("maininvest").innerHTML = "EXPIRED"; 83 document.getElementById("maininvest").innerHTML = "EXPIRED";
84 } 84 }
85 }, 1000); 85 }, 1000);
86 86
87 var pune = new Date("Nov 11, 2017 12:00:00").getTime(); 87 var pune = new Date("Nov 11, 2017 12:00:00").getTime();
88 // Update the count down every 1 second 88 // Update the count down every 1 second
89 var x = setInterval(function() { 89 var x = setInterval(function() {
90 // Get todays date and time 90 // Get todays date and time
91 var now = new Date().getTime(); 91 var now = new Date().getTime();
92 // Find the distance between now an the count down date 92 // Find the distance between now an the count down date
93 var distance = pune - now; 93 var distance = pune - now;
94 // Time calculations for days, hours, minutes and seconds 94 // Time calculations for days, hours, minutes and seconds
95 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 95 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
96 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 96 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
97 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 97 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
98 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 98 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
99 $scope.timer = days + "d " + hours + "h " 99 $scope.timer = days + "d " + hours + "h "
100 + minutes + "m " + seconds + "s " 100 + minutes + "m " + seconds + "s "
101 // Output the result in an element with id="demo" 101 // Output the result in an element with id="demo"
102 document.getElementById("pune").innerHTML = days + "d " + hours + "h " 102 document.getElementById("pune").innerHTML = days + "d " + hours + "h "
103 + minutes + "m " + seconds + "s "; 103 + minutes + "m " + seconds + "s ";
104 // If the count down is over, write some text 104 // If the count down is over, write some text
105 if (distance < 0) { 105 if (distance < 0) {
106 clearInterval(x); 106 clearInterval(x);
107 document.getElementById("pune").innerHTML = "EXPIRED"; 107 document.getElementById("pune").innerHTML = "EXPIRED";
108 } 108 }
109 }, 1000); 109 }, 1000);
110 110
111 var mumbai = new Date("Nov 13, 2017 16:00:00").getTime(); 111 var mumbai = new Date("Nov 13, 2017 16:00:00").getTime();
112 // Update the count down every 1 second 112 // Update the count down every 1 second
113 var x = setInterval(function() { 113 var x = setInterval(function() {
114 // Get todays date and time 114 // Get todays date and time
115 var now = new Date().getTime(); 115 var now = new Date().getTime();
116 // Find the distance between now an the count down date 116 // Find the distance between now an the count down date
117 var distance = mumbai - now; 117 var distance = mumbai - now;
118 // Time calculations for days, hours, minutes and seconds 118 // Time calculations for days, hours, minutes and seconds
119 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 119 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
120 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 120 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
121 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 121 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
122 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 122 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
123 $scope.timer = days + "d " + hours + "h " 123 $scope.timer = days + "d " + hours + "h "
124 + minutes + "m " + seconds + "s " 124 + minutes + "m " + seconds + "s "
125 // Output the result in an element with id="demo" 125 // Output the result in an element with id="demo"
126 document.getElementById("mumbai").innerHTML = days + "d " + hours + "h " 126 document.getElementById("mumbai").innerHTML = days + "d " + hours + "h "
127 + minutes + "m " + seconds + "s "; 127 + minutes + "m " + seconds + "s ";
128 // If the count down is over, write some text 128 // If the count down is over, write some text
129 if (distance < 0) { 129 if (distance < 0) {
130 clearInterval(x); 130 clearInterval(x);
131 document.getElementById("mumbai").innerHTML = "EXPIRED"; 131 document.getElementById("mumbai").innerHTML = "EXPIRED";
132 } 132 }
133 }, 1000); 133 }, 1000);
134 134
135 var ahmedabad = new Date("Nov 15, 2017 12:00:00").getTime(); 135 var ahmedabad = new Date("Nov 15, 2017 12:00:00").getTime();
136 // Update the count down every 1 second 136 // Update the count down every 1 second
137 var x = setInterval(function() { 137 var x = setInterval(function() {
138 // Get todays date and time 138 // Get todays date and time
139 var now = new Date().getTime(); 139 var now = new Date().getTime();
140 // Find the distance between now an the count down date 140 // Find the distance between now an the count down date
141 var distance = ahmedabad - now; 141 var distance = ahmedabad - now;
142 // Time calculations for days, hours, minutes and seconds 142 // Time calculations for days, hours, minutes and seconds
143 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 143 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
144 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 144 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
145 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 145 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
146 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 146 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
147 $scope.timer = days + "d " + hours + "h " 147 $scope.timer = days + "d " + hours + "h "
148 + minutes + "m " + seconds + "s " 148 + minutes + "m " + seconds + "s "
149 // Output the result in an element with id="demo" 149 // Output the result in an element with id="demo"
150 document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h " 150 document.getElementById("ahmedabad").innerHTML = days + "d " + hours + "h "
151 + minutes + "m " + seconds + "s "; 151 + minutes + "m " + seconds + "s ";
152 // If the count down is over, write some text 152 // If the count down is over, write some text
153 if (distance < 0) { 153 if (distance < 0) {
154 clearInterval(x); 154 clearInterval(x);
155 document.getElementById("ahmedabad").innerHTML = "EXPIRED"; 155 document.getElementById("ahmedabad").innerHTML = "EXPIRED";
156 } 156 }
157 }, 1000); 157 }, 1000);
158 158
159 var jaipur = new Date("Nov 15, 2017 12:00:00").getTime(); 159 var jaipur = new Date("Nov 15, 2017 12:00:00").getTime();
160 // Update the count down every 1 second 160 // Update the count down every 1 second
161 var x = setInterval(function() { 161 var x = setInterval(function() {
162 // Get todays date and time 162 // Get todays date and time
163 var now = new Date().getTime(); 163 var now = new Date().getTime();
164 // Find the distance between now an the count down date 164 // Find the distance between now an the count down date
165 var distance = jaipur - now; 165 var distance = jaipur - now;
166 // Time calculations for days, hours, minutes and seconds 166 // Time calculations for days, hours, minutes and seconds
167 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 167 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
168 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 168 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
169 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 169 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
170 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 170 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
171 $scope.timer = days + "d " + hours + "h " 171 $scope.timer = days + "d " + hours + "h "
172 + minutes + "m " + seconds + "s " 172 + minutes + "m " + seconds + "s "
173 // Output the result in an element with id="demo" 173 // Output the result in an element with id="demo"
174 document.getElementById("jaipur").innerHTML = days + "d " + hours + "h " 174 document.getElementById("jaipur").innerHTML = days + "d " + hours + "h "
175 + minutes + "m " + seconds + "s "; 175 + minutes + "m " + seconds + "s ";
176 // If the count down is over, write some text 176 // If the count down is over, write some text
177 if (distance < 0) { 177 if (distance < 0) {
178 clearInterval(x); 178 clearInterval(x);
179 document.getElementById("jaipur").innerHTML = "EXPIRED"; 179 document.getElementById("jaipur").innerHTML = "EXPIRED";
180 } 180 }
181 }, 1000); 181 }, 1000);
182 182
183 var bangalore = new Date("Nov 21, 2017 12:00:00").getTime(); 183 var bangalore = new Date("Nov 21, 2017 12:00:00").getTime();
184 // Update the count down every 1 second 184 // Update the count down every 1 second
185 var x = setInterval(function() { 185 var x = setInterval(function() {
186 // Get todays date and time 186 // Get todays date and time
187 var now = new Date().getTime(); 187 var now = new Date().getTime();
188 // Find the distance between now an the count down date 188 // Find the distance between now an the count down date
189 var distance = bangalore - now; 189 var distance = bangalore - now;
190 // Time calculations for days, hours, minutes and seconds 190 // Time calculations for days, hours, minutes and seconds
191 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 191 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
192 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 192 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
193 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 193 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
194 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 194 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
195 $scope.timer = days + "d " + hours + "h " 195 $scope.timer = days + "d " + hours + "h "
196 + minutes + "m " + seconds + "s " 196 + minutes + "m " + seconds + "s "
197 // Output the result in an element with id="demo" 197 // Output the result in an element with id="demo"
198 document.getElementById("bangalore").innerHTML = days + "d " + hours + "h " 198 document.getElementById("bangalore").innerHTML = days + "d " + hours + "h "
199 + minutes + "m " + seconds + "s "; 199 + minutes + "m " + seconds + "s ";
200 // If the count down is over, write some text 200 // If the count down is over, write some text
201 if (distance < 0) { 201 if (distance < 0) {
202 clearInterval(x); 202 clearInterval(x);
203 document.getElementById("bangalore").innerHTML = "EXPIRED"; 203 document.getElementById("bangalore").innerHTML = "EXPIRED";
204 } 204 }
205 }, 1000); 205 }, 1000);
206 206
207 var hyderabad = new Date("Nov 19, 2017 12:00:00").getTime(); 207 var hyderabad = new Date("Nov 19, 2017 12:00:00").getTime();
208 // Update the count down every 1 second 208 // Update the count down every 1 second
209 var x = setInterval(function() { 209 var x = setInterval(function() {
210 // Get todays date and time 210 // Get todays date and time
211 var now = new Date().getTime(); 211 var now = new Date().getTime();
212 // Find the distance between now an the count down date 212 // Find the distance between now an the count down date
213 var distance = hyderabad - now; 213 var distance = hyderabad - now;
214 // Time calculations for days, hours, minutes and seconds 214 // Time calculations for days, hours, minutes and seconds
215 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 215 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
216 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 216 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
217 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 217 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
218 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 218 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
219 $scope.timer = days + "d " + hours + "h " 219 $scope.timer = days + "d " + hours + "h "
220 + minutes + "m " + seconds + "s " 220 + minutes + "m " + seconds + "s "
221 // Output the result in an element with id="demo" 221 // Output the result in an element with id="demo"
222 document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h " 222 document.getElementById("hyderabad").innerHTML = days + "d " + hours + "h "
223 + minutes + "m " + seconds + "s "; 223 + minutes + "m " + seconds + "s ";
224 // If the count down is over, write some text 224 // If the count down is over, write some text
225 if (distance < 0) { 225 if (distance < 0) {
226 clearInterval(x); 226 clearInterval(x);
227 document.getElementById("hyderabad").innerHTML = "EXPIRED"; 227 document.getElementById("hyderabad").innerHTML = "EXPIRED";
228 } 228 }
229 }, 1000); 229 }, 1000);
230 230
231 var delhi = new Date("Nov 27, 2017 12:00:00").getTime(); 231 var delhi = new Date("Nov 27, 2017 12:00:00").getTime();
232 // Update the count down every 1 second 232 // Update the count down every 1 second
233 var x = setInterval(function() { 233 var x = setInterval(function() {
234 // Get todays date and time 234 // Get todays date and time
235 var now = new Date().getTime(); 235 var now = new Date().getTime();
236 // Find the distance between now an the count down date 236 // Find the distance between now an the count down date
237 var distance = delhi - now; 237 var distance = delhi - now;
238 // Time calculations for days, hours, minutes and seconds 238 // Time calculations for days, hours, minutes and seconds
239 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 239 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
240 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 240 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
241 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 241 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
242 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 242 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
243 $scope.timer = days + "d " + hours + "h " 243 $scope.timer = days + "d " + hours + "h "
244 + minutes + "m " + seconds + "s " 244 + minutes + "m " + seconds + "s "
245 // Output the result in an element with id="demo" 245 // Output the result in an element with id="demo"
246 document.getElementById("delhi").innerHTML = days + "d " + hours + "h " 246 document.getElementById("delhi").innerHTML = days + "d " + hours + "h "
247 + minutes + "m " + seconds + "s "; 247 + minutes + "m " + seconds + "s ";
248 // If the count down is over, write some text 248 // If the count down is over, write some text
249 if (distance < 0) { 249 if (distance < 0) {
250 clearInterval(x); 250 clearInterval(x);
251 document.getElementById("delhi").innerHTML = "EXPIRED"; 251 document.getElementById("delhi").innerHTML = "EXPIRED";
252 } 252 }
253 }, 1000); 253 }, 1000);
254 254
255 var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime(); 255 var chandigarh = new Date("Nov 30, 2017 12:00:00").getTime();
256 // Update the count down every 1 second 256 // Update the count down every 1 second
257 var x = setInterval(function() { 257 var x = setInterval(function() {
258 // Get todays date and time 258 // Get todays date and time
259 var now = new Date().getTime(); 259 var now = new Date().getTime();
260 // Find the distance between now an the count down date 260 // Find the distance between now an the count down date
261 var distance = chandigarh - now; 261 var distance = chandigarh - now;
262 // Time calculations for days, hours, minutes and seconds 262 // Time calculations for days, hours, minutes and seconds
263 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); 263 var days = Math.floor(distance / (1000 * 60 * 60 * 24));
264 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); 264 var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
265 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); 265 var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
266 var seconds = Math.floor((distance % (1000 * 60)) / 1000); 266 var seconds = Math.floor((distance % (1000 * 60)) / 1000);
267 $scope.timer = days + "d " + hours + "h " 267 $scope.timer = days + "d " + hours + "h "
268 + minutes + "m " + seconds + "s " 268 + minutes + "m " + seconds + "s "
269 // Output the result in an element with id="demo" 269 // Output the result in an element with id="demo"
270 document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h " 270 document.getElementById("chandigarh").innerHTML = days + "d " + hours + "h "
271 + minutes + "m " + seconds + "s "; 271 + minutes + "m " + seconds + "s ";
272 // If the count down is over, write some text 272 // If the count down is over, write some text
273 if (distance < 0) { 273 if (distance < 0) {
274 clearInterval(x); 274 clearInterval(x);
275 document.getElementById("chandigarh").innerHTML = "EXPIRED"; 275 document.getElementById("chandigarh").innerHTML = "EXPIRED";
276 } 276 }
277 }, 1000); 277 }, 1000);
278 278
279 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 279 $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
280 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ 280 $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/
281 // $scope.Textshow = "yes" 281 // $scope.Textshow = "yes"
282 $scope.max = 100; 282 $scope.max = 100;
283 $scope.formPage = false; 283 $scope.formPage = false;
284 $scope.current = 0; 284 $scope.current = 0;
285 $scope.payingAmnt = 0; 285 $scope.payingAmnt = 0;
286 if ($scope.data.stage == 'select') { 286 if ($scope.data.stage == 'select') {
287 287
288 } 288 }
289 289
290 //$scope.author = 'Swarn Singh'; 290 //$scope.author = 'Swarn Singh';
291 $scope.data = {}; 291 $scope.data = {};
292 $scope.data.stage = 'Idea'; 292 $scope.data.stage = 'Idea';
293 $scope.discountAmount = 0; 293 $scope.discountAmount = 0;
294 $scope.check = false; 294 $scope.check = false;
295 $scope.numberCheck = false; 295 $scope.numberCheck = false;
296 $scope.paymentResult = {}; 296 $scope.paymentResult = {};
297 var data = { 297 var data = {
298 "amount": $scope.payingAmnt, 298 "amount": $scope.payingAmnt,
299 "currency": "INR", 299 "currency": "INR",
300 "status": "pending" 300 "status": "pending"
301 } 301 }
302 302
303 /*open videos in modal*/ 303 /*open videos in modal*/
304 // $scope.openyoutube16 = function(){ 304 // $scope.openyoutube16 = function(){
305 // $('#videoModel').modal('show'); 305 // $('#videoModel').modal('show');
306 // } 306 // }
307 307
308 // $scope.openyoutube17 = function(){ 308 // $scope.openyoutube17 = function(){
309 // $('#videoModels').modal('show'); 309 // $('#videoModels').modal('show');
310 // } 310 // }
311 311
312 // $scope.closeModal = function(){ 312 // $scope.closeModal = function(){
313 // var url = $('#youtubePlayer').attr('src'); 313 // var url = $('#youtubePlayer').attr('src');
314 // $('#youtubePlayer').attr('src', ''); 314 // $('#youtubePlayer').attr('src', '');
315 // $('#youtubePlayer').attr('src', url); 315 // $('#youtubePlayer').attr('src', url);
316 // } 316 // }
317 317
318 318
319 // $scope.closed = function(){ 319 // $scope.closed = function(){
320 // var url = $('#youtubePlayersss').attr('src'); 320 // var url = $('#youtubePlayersss').attr('src');
321 // $('#youtubePlayersss').attr('src', ''); 321 // $('#youtubePlayersss').attr('src', '');
322 // $('#youtubePlayersss').attr('src', url); 322 // $('#youtubePlayersss').attr('src', url);
323 // } 323 // }
324 /*open videos ends here*/ 324 /*open videos ends here*/
325 $scope.apply = function() { 325 $scope.apply = function() {
326 Analytics.trackEvent('register', 'click', 'Registration'); 326 Analytics.trackEvent('register', 'click', 'Registration');
327 $location.path("/registration") 327 $location.path("/registration")
328 } 328 }
329 $scope.data.citymeetup = ''; 329 $scope.data.citymeetup = '';
330 $scope.register = function(value){ 330 $scope.register = function(value){
331 $scope.data.citymeetup = value; 331 $scope.data.citymeetup = value;
332 if (value == 'mainevent') { 332 if (value == 'mainevent') {
333 $scope.eventType = true; 333 $scope.eventType = true;
334 $scope.mainType = false; 334 $scope.mainType = false;
335 $scope.data.stage = null; 335 $scope.data.stage = null;
336 } 336 }
337 else{ 337 else{
338 $scope.eventType = false; 338 $scope.eventType = false;
339 $scope.mainType = true; 339 $scope.mainType = true;
340 } 340 }
341 $('.hiddenForm').slideDown(); 341 $('.hiddenForm').slideDown();
342 $('html, body').animate({ 342 $('html, body').animate({
343 scrollTop: $('.hiddenForm').offset().top 343 scrollTop: $('.hiddenForm').offset().top
344 }, 1000); 344 }, 1000);
345 console.log('gdggsg', value); 345 console.log('gdggsg', value);
346 } 346 }
347 347
348 $scope.removeError = function() { 348 $scope.removeError = function() {
349 $('#invalidEmail').css('display', 'none'); 349 $('#invalidEmail').css('display', 'none');
350 $('#alreadyExist').css('display', 'none'); 350 $('#alreadyExist').css('display', 'none');
351 }; 351 };
352 352
353 $scope.emailcheck = function(val) { 353 $scope.emailcheck = function(val) {
354 console.log(val) 354 console.log(val)
355 $scope.space = /\s/g.test(val); 355 $scope.space = /\s/g.test(val);
356 console.log("space",$scope.space) 356 console.log("space",$scope.space)
357 if (val == undefined) { 357 if (val == undefined) {
358 $('#invalidEmail').css('display', 'block'); 358 $('#invalidEmail').css('display', 'block');
359 } else { 359 } else {
360 $http({ 360 $http({
361 method: 'GET', 361 method: 'GET',
362 url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', 362 url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
363 headers: {} 363 headers: {}
364 }).then(function mySuccess(searchResult) { 364 }).then(function mySuccess(searchResult) {
365 console.log("searchResult1===>", searchResult) 365 console.log("searchResult1===>", searchResult)
366 if (searchResult.data.length == 0) { 366 if (searchResult.data.length == 0) {
367 $scope.check = false; 367 $scope.check = false;
368 } else { 368 } else {
369 $scope.check = true; 369 $scope.check = true;
370 $scope.emailId = searchResult.data[0].id 370 $scope.emailId = searchResult.data[0].id
371 $('#alreadyExist').css('display', 'block'); 371 $('#alreadyExist').css('display', 'block');
372 372
373 } 373 }
374 console.log("$scope.data.id",searchResult.data) 374 console.log("$scope.data.id",searchResult.data)
375 }, function myError(error) {}); 375 }, function myError(error) {});
376 } 376 }
377 }; 377 };
378 378
379 $scope.removeNoError = function() { 379 $scope.removeNoError = function() {
380 $('#noExist').css('display', 'none'); 380 $('#noExist').css('display', 'none');
381 }; 381 };
382 382
383 $scope.numbercheck = function(number) { 383 $scope.numbercheck = function(number) {
384 $http({ 384 $http({
385 method: 'GET', 385 method: 'GET',
386 url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', 386 url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}',
387 data: $scope.data, 387 data: $scope.data,
388 headers: {} 388 headers: {}
389 }).then(function mySuccess(searchResult) { 389 }).then(function mySuccess(searchResult) {
390 console.log("searchResult===>", searchResult) 390 console.log("searchResult===>", searchResult)
391 if (searchResult.data.length == 0) { 391 if (searchResult.data.length == 0) {
392 $scope.numberCheck = false; 392 $scope.numberCheck = false;
393 393
394 } else { 394 } else {
395 $scope.numberCheck = true; 395 $scope.numberCheck = true;
396 $('#noExist').css('display', 'block'); 396 $('#noExist').css('display', 'block');
397 } 397 }
398 }, function myError(error) {}); 398 }, function myError(error) {});
399 }; 399 };
400 400
401 $rootScope.tokenCall = function(val) { 401 $rootScope.tokenCall = function(val) {
402 console.log('val-------->', val); 402 console.log('val-------->', val);
403 if (val == undefined) { 403 if (val == undefined) {
404 $('#invalidToken').css('display', 'block'); 404 $('#invalidToken').css('display', 'block');
405 } else { 405 } else {
406 val = val.toUpperCase(); 406 val = val.toUpperCase();
407 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') 407 $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}')
408 .then(function(searchResult) { 408 .then(function(searchResult) {
409 console.log("searchResult",searchResult) 409 console.log("searchResult",searchResult)
410 if (searchResult.data.length == 0) { 410 if (searchResult.data.length == 0) {
411 $scope.tokencheck = false; 411 $scope.tokencheck = false;
412 $scope.discountAmount = 0; 412 $scope.discountAmount = 0;
413 } else { 413 } else {
414 $scope.discountpercentage = searchResult.data[0].discount; 414 $scope.discountpercentage = searchResult.data[0].discount;
415 $scope.tokencheck = true; 415 $scope.tokencheck = true;
416 } 416 }
417 },function(err){ 417 },function(err){
418 console.log(err) 418 console.log(err)
419 }); 419 });
420 420
421 } 421 }
422 }; 422 };
423 423
424 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ 424 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
425 $(document).ready( 425 $(document).ready(
426 function() { 426 function() {
427 $('input:submit').attr('disabled', true); 427 $('input:submit').attr('disabled', true);
428 $('input:file').change( 428 $('input:file').change(
429 function() { 429 function() {
430 if ($("#picture").val()) { 430 if ($("#picture").val()) {
431 $('input:submit').removeAttr('disabled'); 431 $('input:submit').removeAttr('disabled');
432 } else { 432 } else {
433 $('input:submit').attr('disabled', true); 433 $('input:submit').attr('disabled', true);
434 } 434 }
435 }); 435 });
436 }); 436 });
437 437
438 /*****THIS IS FOR STEP ONE FORM ******/ 438 /*****THIS IS FOR STEP ONE FORM ******/
439 // $scope.next = function() { 439 // $scope.next = function() {
440 // $scope.data.status = null 440 // $scope.data.status = null
441 // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { 441 // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) {
442 // var x = document.getElementById("snackbar") 442 // var x = document.getElementById("snackbar")
443 // x.className = "show"; 443 // x.className = "show";
444 // setTimeout(function() { 444 // setTimeout(function() {
445 // x.className = x.className.replace("show", ""); 445 // x.className = x.className.replace("show", "");
446 // }, 3000); 446 // }, 3000);
447 // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { 447 // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) {
448 // $scope.infoForm = true; 448 // $scope.infoForm = true;
449 // console.log("sdasdasdsa"); 449 // console.log("sdasdasdsa");
450 // $scope.data.stage = $scope.data.stage; 450 // $scope.data.stage = $scope.data.stage;
451 // $scope.detail = {}; 451 // $scope.detail = {};
452 // $scope.data.phone = "+91" + $scope.data.number; 452 // $scope.data.phone = "+91" + $scope.data.number;
453 // $http({ 453 // $http({
454 // method: 'POST', 454 // method: 'POST',
455 // url: BASE_URL + '/information', 455 // url: BASE_URL + '/information',
456 // data: $scope.data, 456 // data: $scope.data,
457 // headers: {} 457 // headers: {}
458 // }).then(function mySuccess(result) { 458 // }).then(function mySuccess(result) {
459 // Analytics.trackEvent('information', 'click', 'django.mp4'); 459 // Analytics.trackEvent('information', 'click', 'django.mp4');
460 // console.log("result", result) 460 // console.log("result", result)
461 // $scope.detail = result; 461 // $scope.detail = result;
462 // data.applicantId = result.data.id; 462 // data.applicantId = result.data.id;
463 // $scope.userId = result.data.id; 463 // $scope.userId = result.data.id;
464 464
465 // }, function myError(error) {}); 465 // }, function myError(error) {});
466 466
467 // } 467 // }
468 468
469 // } 469 // }
470 470
471 $scope.calculateAmount = function(){ 471 $scope.calculateAmount = function(){
472 if($scope.tokencheck == false){ 472 if($scope.tokencheck == false){
473 $scope.data.referalToken = null; 473 $scope.data.referalToken = null;
474 } 474 }
475 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { 475 if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
476 var x = document.getElementById("snackbar") 476 var x = document.getElementById("snackbar")
477 x.className = "show"; 477 x.className = "show";
478 setTimeout(function() { 478 setTimeout(function() {
479 x.className = x.className.replace("show", ""); 479 x.className = x.className.replace("show", "");
480 }, 3000); 480 }, 3000);
481 } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { 481 } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
482 $scope.infoForm = true; 482 $scope.infoForm = true;
483 console.log("sdasdasdsa"); 483 console.log("sdasdasdsa");
484 $scope.data.stage = $scope.data.stage; 484 $scope.data.stage = $scope.data.stage;
485 $scope.detail = {}; 485 $scope.detail = {};
486 $scope.data.phone = "+91" + $scope.data.number; 486 $scope.data.phone = "+91" + $scope.data.number;
487 $http({ 487 $http({
488 method: 'POST', 488 method: 'POST',
489 url: BASE_URL + '/applicants', 489 url: BASE_URL + '/applicants',
490 data: $scope.data, 490 data: $scope.data,
491 headers: {} 491 headers: {}
492 }).then(function mySuccess(result) { 492 }).then(function mySuccess(result) {
493 Analytics.trackEvent('applicants', 'click','Users'); 493 Analytics.trackEvent('applicants', 'click','Users');
494 console.log("result", result) 494 console.log("result", result)
495 $scope.detail = result; 495 $scope.detail = result;
496 data.applicantId = result.data.id; 496 data.applicantId = result.data.id;
497 //$scope.userId = result.data.id; 497 //$scope.userId = result.data.id;
498 498
499 if($scope.data.citymeetup == "pune"){ 499 if($scope.data.citymeetup == "pune"){
500 if ($scope.data.stage == "Idea") { 500 if ($scope.data.stage == "Idea") {
501 console.log("$scope.data", $scope.data) 501 console.log("$scope.data", $scope.data)
502 $scope.ticketAmnt = 700; 502 $scope.ticketAmnt = 700;
503 } 503 }
504 504
505 if ($scope.data.stage == "Product") { 505 if ($scope.data.stage == "Product") {
506 $scope.ticketAmnt = 1400; 506 $scope.ticketAmnt = 1400;
507 } 507 }
508 508
509 if ($scope.data.stage == "Growth") { 509 if ($scope.data.stage == "Growth") {
510 $scope.ticketAmnt = 1400; 510 $scope.ticketAmnt = 1400;
511 } 511 }
512 } 512 }
513 else if($scope.data.citymeetup == "mainevent"){ 513 else if($scope.data.citymeetup == "mainevent"){
514 // if ($scope.data.stage == '') { 514 // if ($scope.data.stage == '') {
515 console.log("$scope.data", $scope.data) 515 console.log("$scope.data", $scope.data)
516 $scope.ticketAmnt = 5000; 516 $scope.ticketAmnt = 5000;
517 // } 517 // }
518 518
519 // if ($scope.data.stage == "Product") { 519 // if ($scope.data.stage == "Product") {
520 // $scope.ticketAmnt = 1500; 520 // $scope.ticketAmnt = 1500;
521 // } 521 // }
522 522
523 // if ($scope.data.stage == "Growth") { 523 // if ($scope.data.stage == "Growth") {
524 // $scope.ticketAmnt = 1500; 524 // $scope.ticketAmnt = 1500;
525 // } 525 // }
526 } 526 }
527 else{ 527 else{
528 if ($scope.data.stage == "Idea") { 528 if ($scope.data.stage == "Idea") {
529 console.log("$scope.data", $scope.data) 529 console.log("$scope.data", $scope.data)
530 $scope.ticketAmnt = 500; 530 $scope.ticketAmnt = 500;
531 } 531 }
532 532
533 if ($scope.data.stage == "Product") { 533 if ($scope.data.stage == "Product") {
534 $scope.ticketAmnt = 1000; 534 $scope.ticketAmnt = 1000;
535 } 535 }
536 536
537 if ($scope.data.stage == "Growth") { 537 if ($scope.data.stage == "Growth") {
538 $scope.ticketAmnt = 1000; 538 $scope.ticketAmnt = 1000;
539 } 539 }
540 } 540 }
541 // if ($scope.data.stage == "Visitor") { 541 // if ($scope.data.stage == "Visitor") {
542 // $scope.ticketAmnt = 500; 542 // $scope.ticketAmnt = 500;
543 // } 543 // }
544 var amount = $scope.ticketAmnt * 100 544 var amount = $scope.ticketAmnt * 100
545 if($scope.tokencheck == true){ 545 if($scope.tokencheck == true){
546 var amount = $scope.ticketAmnt 546 var amount = $scope.ticketAmnt
547 $scope.discountAmount = (amount * $scope.discountpercentage)/100 547 $scope.discountAmount = (amount * $scope.discountpercentage)/100
548 console.log("finalAmount====>",$scope.discountAmount) 548 console.log("finalAmount====>",$scope.discountAmount)
549 } 549 }
550 550
551 var taxAmount = $scope.ticketAmnt - $scope.discountAmount 551 var taxAmount = $scope.ticketAmnt - $scope.discountAmount
552 console.log("$scope.taxTotal----",taxAmount) 552 console.log("$scope.taxTotal----",taxAmount)
553 $scope.taxTotal = (taxAmount * 18)/100 553 $scope.taxTotal = (taxAmount * 18)/100
554 $scope.payingAmnt = taxAmount + $scope.taxTotal 554 $scope.payingAmnt = taxAmount + $scope.taxTotal
555 console.log("taxincludedamount----", $scope.payingAmnt) 555 console.log("taxincludedamount----", $scope.payingAmnt)
556 console.log("$scope.taxTotal----", $scope.taxTotal) 556 console.log("$scope.taxTotal----", $scope.taxTotal)
557 // } 557 // }
558 558
559 /*****THIS IS FOR STEP THREE FORM ******/ 559 /*****THIS IS FOR STEP THREE FORM ******/
560 // $scope.create = function() { 560 // $scope.create = function() {
561 // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { 561 // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) {
562 // var x = document.getElementById("snackbar") 562 // var x = document.getElementById("snackbar")
563 // x.className = "show"; 563 // x.className = "show";
564 // setTimeout(function() { 564 // setTimeout(function() {
565 // x.className = x.className.replace("show", ""); 565 // x.className = x.className.replace("show", "");
566 // }, 3000); 566 // }, 3000);
567 // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { 567 // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) {
568 // $scope.infoForm = true; 568 // $scope.infoForm = true;
569 // console.log("sdasdasdsa"); 569 // console.log("sdasdasdsa");
570 // $scope.data.stage = $scope.data.stage; 570 // $scope.data.stage = $scope.data.stage;
571 // $scope.detail = {}; 571 // $scope.detail = {};
572 // $scope.data.phone = "+91" + $scope.data.number; 572 // $scope.data.phone = "+91" + $scope.data.number;
573 // $http({ 573 // $http({
574 // method: 'POST', 574 // method: 'POST',
575 // url: BASE_URL + '/applicants', 575 // url: BASE_URL + '/applicants',
576 // data: $scope.data, 576 // data: $scope.data,
577 // headers: {} 577 // headers: {}
578 // }).then(function mySuccess(result) { 578 // }).then(function mySuccess(result) {
579 579
580 // console.log("=====result=====", result) 580 // console.log("=====result=====", result)
581 // $scope.detail = result; 581 // $scope.detail = result;
582 // data.applicantId = result.data.id; 582 // data.applicantId = result.data.id;
583 // $scope.userId = result.data.id; 583 // $scope.userId = result.data.id;
584 // console.log("=====data=====", data) 584 // console.log("=====data=====", data)
585 // data.amount = $scope.payingAmnt + $scope.taxTotal; 585 // data.amount = $scope.payingAmnt + $scope.taxTotal;
586 data.amount = $scope.payingAmnt; 586 data.amount = $scope.payingAmnt;
587 console.log("$scope.taxTotal",data.amount) 587 console.log("$scope.taxTotal",data.amount)
588 if ($scope.detail != null) { 588 if ($scope.detail != null) {
589 $http({ 589 $http({
590 method: 'POST', 590 method: 'POST',
591 url: BASE_URL + '/payments', 591 url: BASE_URL + '/payments',
592 data: data, 592 data: data,
593 headers: {} 593 headers: {}
594 }).then(function mySuccess(paymentResult) { 594 }).then(function mySuccess(paymentResult) {
595 console.log("paymentResult",paymentResult) 595 console.log("paymentResult",paymentResult)
596 $scope.paymentResult = paymentResult; 596 $scope.paymentResult = paymentResult;
597 }, function myError(error) {}); 597 }, function myError(error) {});
598 } 598 }
599 var i = 0; 599 var i = 0;
600 //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; 600 //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100;
601 601
602 $scope.payingAmnt = $scope.payingAmnt * 100; 602 $scope.payingAmnt = $scope.payingAmnt * 100;
603 console.log("$scope.taxTotal----", $scope.payingAmnt) 603 console.log("$scope.taxTotal----", $scope.payingAmnt)
604 var options = { 604 var options = {
605 "key": "rzp_live_mhSE1uOBlXvFyJ", 605 "key": "rzp_live_mhSE1uOBlXvFyJ",
606 //"key": "rzp_test_YwHsVFiDIQ2WUQ", 606 //"key": "rzp_test_YwHsVFiDIQ2WUQ",
607 "amount": $scope.payingAmnt , 607 "amount": $scope.payingAmnt ,
608 608
609 "name": "Startup Jalsa", 609 "name": "Startup Jalsa",
610 "description": "amount", 610 "description": "amount",
611 "currency": "INR", 611 "currency": "INR",
612 "status": "done", 612 "status": "done",
613 613
614 "theme": { 614 "theme": {
615 "color": "#2196f3 ", 615 "color": "#2196f3 ",
616 "image_padding": "NO" 616 "image_padding": "NO"
617 }, 617 },
618 "modal": { 618 "modal": {
619 "ondismiss": function() {} 619 "ondismiss": function() {}
620 }, 620 },
621 "handler": function(response) { 621 "handler": function(response) {
622 createPayment(response); 622 createPayment(response);
623 } 623 }
624 }; 624 };
625 var rzp1 = new Razorpay(options); 625 var rzp1 = new Razorpay(options);
626 rzp1.open(); 626 rzp1.open();
627 $scope.paymentResponse = {}; 627 $scope.paymentResponse = {};
628 628
629 function createPayment(response) { 629 function createPayment(response) {
630 console.log("response====from===razorpay",response) 630 console.log("response====from===razorpay",response)
631 $route.reload(); 631 $route.reload();
632 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 632 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
633 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 633 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
634 $scope.paymentResponse.amount = data.amount; 634 $scope.paymentResponse.amount = data.amount;
635 $scope.paymentResponse.currency = "INR"; 635 $scope.paymentResponse.currency = "INR";
636 $scope.paymentResponse.status = $scope.paymentResult.data.status; 636 $scope.paymentResponse.status = $scope.paymentResult.data.status;
637 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); 637 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount);
638 $http({ 638 $http({
639 method: 'PUT', 639 method: 'PUT',
640 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, 640 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id,
641 data: $scope.paymentResponse, 641 data: $scope.paymentResponse,
642 headers: {} 642 headers: {}
643 }).then(function mySuccess(searchResult) { 643 }).then(function mySuccess(searchResult) {
644 // if(paymentResult.data.status == "created"){ 644 // if(paymentResult.data.status == "created"){
645 645
646 // } 646 // }
647 console.log("searchResult", searchResult) 647 console.log("searchResult", searchResult)
648 $location.path("/confirmation") 648 $location.path("/confirmation")
649 //$scope.showToastr() 649 //$scope.showToastr()
650 //toaster.success("Registration done successfully"); 650 //toaster.success("Registration done successfully");
651 651
652 }, function myError(error) {}); 652 }, function myError(error) {});
653 } 653 }
654 }, function myError(error) {}); 654 }, function myError(error) {alert(error)});
655 } 655 }
656 656
657 } 657 }
658 658
659 //}, function myError(error) {}); 659 //}, function myError(error) {});
660 //} 660 //}
661 661
662 //} 662 //}
663 663
664 // $scope.showToastr = function() { 664 // $scope.showToastr = function() {
665 // console.log("called toast") 665 // console.log("called toast")
666 // var x = document.getElementById("snacsskbar") 666 // var x = document.getElementById("snacsskbar")
667 // x.className = "show"; 667 // x.className = "show";
668 // setTimeout(function() { 668 // setTimeout(function() {
669 // x.className = x.className.replace("show", ""); 669 // x.className = x.className.replace("show", "");
670 // }, 3000); 670 // }, 3000);
671 // } 671 // }
672 672
673 /*kk***This code for change data when click to chooses stages***/ 673 /*kk***This code for change data when click to chooses stages***/
674 $scope.proto = true; 674 $scope.proto = true;
675 $scope.businessmodel = true; 675 $scope.businessmodel = true;
676 $scope.Idea = true; 676 $scope.Idea = true;
677 $scope.current = true; 677 $scope.current = true;
678 678
679 $scope.stage = function(stage) { 679 $scope.stage = function(stage) {
680 $scope.stagekeyPress(); 680 $scope.stagekeyPress();
681 console.log("stage--2",stage) 681 console.log("stage--2",stage)
682 682
683 if (stage == 'Idea') { 683 if (stage == 'Idea') {
684 $scope.Productshow = "no"; 684 $scope.Productshow = "no";
685 $scope.current = 10; 685 $scope.current = 10;
686 $scope.proto = true; 686 $scope.proto = true;
687 // $scope.visitType = true; 687 // $scope.visitType = true;
688 $scope.prototyp = false; 688 $scope.prototyp = false;
689 $scope.protyp = false; 689 $scope.protyp = false;
690 $scope.market = false; 690 $scope.market = false;
691 $scope.risks = false; 691 $scope.risks = false;
692 $scope.team = false; 692 $scope.team = false;
693 $scope.pitch = false; 693 $scope.pitch = false;
694 $scope.financials = false; 694 $scope.financials = false;
695 $scope.businessmodel = true; 695 $scope.businessmodel = true;
696 $scope.data.stage = stage; 696 $scope.data.stage = stage;
697 // for right content 697 // for right content
698 $scope.Idea = true; 698 $scope.Idea = true;
699 $scope.Product = false; 699 $scope.Product = false;
700 $scope.Growth = false; 700 $scope.Growth = false;
701 // $scope.Visitor = false; 701 // $scope.Visitor = false;
702 } else if (stage == 'Product') { 702 } else if (stage == 'Product') {
703 $scope.Productshow = "no"; 703 $scope.Productshow = "no";
704 $scope.current = 10; 704 $scope.current = 10;
705 $scope.proto = true; 705 $scope.proto = true;
706 // $scope.visitType = true; 706 // $scope.visitType = true;
707 $scope.prototyp = true; 707 $scope.prototyp = true;
708 $scope.protyp = true; 708 $scope.protyp = true;
709 $scope.market = true; 709 $scope.market = true;
710 $scope.risks = true; 710 $scope.risks = true;
711 $scope.team = true; 711 $scope.team = true;
712 $scope.pitch = true; 712 $scope.pitch = true;
713 $scope.financials = true; 713 $scope.financials = true;
714 $scope.businessmodel = false; 714 $scope.businessmodel = false;
715 $scope.data.stage = stage; 715 $scope.data.stage = stage;
716 // for right content 716 // for right content
717 $scope.Idea = false; 717 $scope.Idea = false;
718 $scope.Product = true; 718 $scope.Product = true;
719 $scope.Growth = false; 719 $scope.Growth = false;
720 // $scope.Visitor = false; 720 // $scope.Visitor = false;
721 } else if (stage == 'Growth') { 721 } else if (stage == 'Growth') {
722 $scope.Productshow = "yes"; 722 $scope.Productshow = "yes";
723 $scope.current = 10; 723 $scope.current = 10;
724 $scope.proto = false; 724 $scope.proto = false;
725 // $scope.visitType = true; 725 // $scope.visitType = true;
726 $scope.prototyp = true; 726 $scope.prototyp = true;
727 $scope.protyp = false; 727 $scope.protyp = false;
728 $scope.market = true; 728 $scope.market = true;
729 $scope.risks = true; 729 $scope.risks = true;
730 $scope.team = true; 730 $scope.team = true;
731 $scope.pitch = true; 731 $scope.pitch = true;
732 $scope.financials = true; 732 $scope.financials = true;
733 $scope.businessmodel = false; 733 $scope.businessmodel = false;
734 // for right content 734 // for right content
735 $scope.Idea = false; 735 $scope.Idea = false;
736 $scope.Product = false; 736 $scope.Product = false;
737 $scope.Growth = true; 737 $scope.Growth = true;
738 // $scope.Visitor = false; 738 // $scope.Visitor = false;
739 // } else if (stage == 'Visitor') { 739 // } else if (stage == 'Visitor') {
740 // $scope.Productshow = "no"; 740 // $scope.Productshow = "no";
741 // $scope.current = 10; 741 // $scope.current = 10;
742 // $scope.proto = false; 742 // $scope.proto = false;
743 // $scope.visitType = false; 743 // $scope.visitType = false;
744 // $scope.prototyp = false; 744 // $scope.prototyp = false;
745 // $scope.protyp = false; 745 // $scope.protyp = false;
746 // $scope.market = false; 746 // $scope.market = false;
747 // $scope.risks = false; 747 // $scope.risks = false;
748 // $scope.team = false; 748 // $scope.team = false;
749 // $scope.pitch = false; 749 // $scope.pitch = false;
750 // $scope.financials = false; 750 // $scope.financials = false;
751 // $scope.businessmodel = false; 751 // $scope.businessmodel = false;
752 // $scope.data.stage = stage; 752 // $scope.data.stage = stage;
753 // // for right content 753 // // for right content
754 // $scope.Idea = false; 754 // $scope.Idea = false;
755 // $scope.Product = false; 755 // $scope.Product = false;
756 // $scope.Growth = false; 756 // $scope.Growth = false;
757 // $scope.Visitor = true; 757 // $scope.Visitor = true;
758 $scope.data.stage = stage; 758 $scope.data.stage = stage;
759 } 759 }
760 760
761 } 761 }
762 762
763 $scope.emailTest = function(s){ 763 $scope.emailTest = function(s){
764 $scope.space = /\s/g.test(s.delegateTarget.value); 764 $scope.space = /\s/g.test(s.delegateTarget.value);
765 console.log("space",$scope.space) 765 console.log("space",$scope.space)
766 766
767 } 767 }
768 // $scope.enterbusiness = function(business) { 768 // $scope.enterbusiness = function(business) {
769 // console.log("business", business); 769 // console.log("business", business);
770 // if (name == undefined) { 770 // if (name == undefined) {
771 // $scope.current = false; 771 // $scope.current = false;
772 772
773 // } else if (name != undefined) { 773 // } else if (name != undefined) {
774 // $scope.current = true; 774 // $scope.current = true;
775 // } 775 // }
776 // } 776 // }
777 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ 777 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/
778 $scope.stagekeyPress = function() { 778 $scope.stagekeyPress = function() {
779 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); 779 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)');
780 } 780 }
781 $scope.sectorkeyPress = function() { 781 $scope.sectorkeyPress = function() {
782 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); 782 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)');
783 } 783 }
784 784
785 $scope.productLaunchkeyPress = function() { 785 $scope.productLaunchkeyPress = function() {
786 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); 786 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)');
787 } 787 }
788 788
789 $scope.launchPeriodkeyPress = function() { 789 $scope.launchPeriodkeyPress = function() {
790 $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); 790 $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)');
791 } 791 }
792 792
793 $scope.industrykeyPress = function() { 793 $scope.industrykeyPress = function() {
794 $scope.addOther = false; 794 $scope.addOther = false;
795 $scope.hideSelectBox = true; 795 $scope.hideSelectBox = true;
796 $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); 796 $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)');
797 var e = document.getElementById("dataIndustry"); 797 var e = document.getElementById("dataIndustry");
798 var dataIndustry = e.options[e.selectedIndex].value; 798 var dataIndustry = e.options[e.selectedIndex].value;
799 if(dataIndustry == "others") { 799 if(dataIndustry == "others") {
800 $scope.addOther = true; 800 $scope.addOther = true;
801 $scope.hideSelectBox = false; 801 $scope.hideSelectBox = false;
802 } 802 }
803 } 803 }
804 804
805 $scope.industryNamekeyPress = function(firstName) { 805 $scope.industryNamekeyPress = function(firstName) {
806 console.log("lastName==", firstName); 806 console.log("lastName==", firstName);
807 if (firstName == undefined) { 807 if (firstName == undefined) {
808 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 808 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
809 } else { 809 } else {
810 $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); 810 $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)');
811 } 811 }
812 } 812 }
813 813
814 $scope.amountkeyPress = function() { 814 $scope.amountkeyPress = function() {
815 $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); 815 $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)');
816 } 816 }
817 817
818 $scope.firstNamekeyPress = function(name) { 818 $scope.firstNamekeyPress = function(name) {
819 console.log("lastName==", name); 819 console.log("lastName==", name);
820 if (name == undefined) { 820 if (name == undefined) {
821 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); 821 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)');
822 } else { 822 } else {
823 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); 823 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)');
824 } 824 }
825 } 825 }
826 826
827 $scope.emailkeyPress = function(email) { 827 $scope.emailkeyPress = function(email) {
828 console.log("email", email); 828 console.log("email", email);
829 if (email == undefined) { 829 if (email == undefined) {
830 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); 830 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)');
831 } else { 831 } else {
832 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); 832 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)');
833 } 833 }
834 } 834 }
835 835
836 $scope.textCheck = function(){ 836 $scope.textCheck = function(){
837 console.log("Val1:::", $scope.textCheck); 837 console.log("Val1:::", $scope.textCheck);
838 var e = document.getElementById("fundingDiv"); 838 var e = document.getElementById("fundingDiv");
839 var funding = e.options[e.selectedIndex].value; 839 var funding = e.options[e.selectedIndex].value;
840 $scope.Textshow = "no"; 840 $scope.Textshow = "no";
841 if(funding == "yes") { 841 if(funding == "yes") {
842 $scope.Textshow = "yes"; 842 $scope.Textshow = "yes";
843 console.log("Val:::", $scope.Textshow); 843 console.log("Val:::", $scope.Textshow);
844 } 844 }
845 845
846 } 846 }
847 847
848 $scope.productCheck = function(){ 848 $scope.productCheck = function(){
849 console.log("Val2:::", $scope.productCheck); 849 console.log("Val2:::", $scope.productCheck);
850 var e = document.getElementById("productDiv"); 850 var e = document.getElementById("productDiv");
851 var product = e.options[e.selectedIndex].value; 851 var product = e.options[e.selectedIndex].value;
852 $scope.Productshow = "no"; 852 $scope.Productshow = "no";
853 if(product == "yes") { 853 if(product == "yes") {
854 $scope.Productshow = "yes"; 854 $scope.Productshow = "yes";
855 console.log("Val1:::", $scope.Productshow); 855 console.log("Val1:::", $scope.Productshow);
856 } 856 }
857 857
858 } 858 }
859 859
860 $scope.phonekeyPress = function(number) { 860 $scope.phonekeyPress = function(number) {
861 console.log("number", number); 861 console.log("number", number);
862 if (number == undefined || number == '') { 862 if (number == undefined || number == '') {
863 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); 863 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)');
864 } else { 864 } else {
865 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); 865 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)');
866 } 866 }
867 } 867 }
868 868
869 $scope.citykeyPress = function(city) { 869 $scope.citykeyPress = function(city) {
870 console.log("city", city); 870 console.log("city", city);
871 if (city == undefined) { 871 if (city == undefined) {
872 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); 872 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)');
873 } else { 873 } else {
874 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); 874 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)');
875 } 875 }
876 } 876 }
877 877
878 $scope.startupNamekeyPress = function(q) { 878 $scope.startupNamekeyPress = function(q) {
879 if (q == undefined) { 879 if (q == undefined) {
880 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); 880 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)');
881 } else { 881 } else {
882 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); 882 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)');
883 } 883 }
884 } 884 }
885 885
886 $scope.linkedInkeyPress = function(technology) { 886 $scope.linkedInkeyPress = function(technology) {
887 if (technology == undefined || technology == '') { 887 if (technology == undefined || technology == '') {
888 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); 888 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)');
889 } else { 889 } else {
890 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); 890 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)');
891 } 891 }
892 } 892 }
893 $scope.companykeyPress = function(problem) { 893 $scope.companykeyPress = function(problem) {
894 if (problem == undefined) { 894 if (problem == undefined) {
895 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); 895 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)');
896 } else { 896 } else {
897 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); 897 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)');
898 } 898 }
899 } 899 }
900 $scope.productNamekeyPress = function(solution) { 900 $scope.productNamekeyPress = function(solution) {
901 if (solution == undefined) { 901 if (solution == undefined) {
902 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); 902 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)');
903 } else { 903 } else {
904 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); 904 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)');
905 } 905 }
906 } 906 }
907 $scope.businesskeyPress = function(business) { 907 $scope.businesskeyPress = function(business) {
908 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); 908 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)');
909 } 909 }
910 910
911 $scope.websitekeyPress = function(prototype) { 911 $scope.websitekeyPress = function(prototype) {
912 if (prototype == undefined || prototype == '') { 912 if (prototype == undefined || prototype == '') {
913 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); 913 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)');
914 } else { 914 } else {
915 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); 915 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)');
916 } 916 }
917 } 917 }
918 918
919 $scope.employeekeyPress = function(market) { 919 $scope.employeekeyPress = function(market) {
920 if (market == undefined || market == '') { 920 if (market == undefined || market == '') {
921 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); 921 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)');
922 } else { 922 } else {
923 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); 923 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)');
924 } 924 }
925 } 925 }
926 926
927 $scope.annualkeyPress = function(risk) { 927 $scope.annualkeyPress = function(risk) {
928 if (risk == undefined || risk == '') { 928 if (risk == undefined || risk == '') {
929 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); 929 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)');
930 } else { 930 } else {
931 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); 931 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)');
932 } 932 }
933 } 933 }
934 934
935 $scope.revenuekeyPress = function(team) { 935 $scope.revenuekeyPress = function(team) {
936 if (team == undefined || team == '') { 936 if (team == undefined || team == '') {
937 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); 937 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)');
938 } else { 938 } else {
939 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); 939 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)');
940 } 940 }
941 } 941 }
942 942
943 $scope.descriptionkeyPress = function(pitch) { 943 $scope.descriptionkeyPress = function(pitch) {
944 if (pitch == undefined) { 944 if (pitch == undefined) {
945 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); 945 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)');
946 } else { 946 } else {
947 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); 947 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)');
948 } 948 }
949 } 949 }
950 950
951 $scope.discountkeyPress = function(discount) { 951 $scope.discountkeyPress = function(discount) {
952 console.log("lastName==", name); 952 console.log("lastName==", name);
953 if (discount == undefined) { 953 if (discount == undefined) {
954 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 954 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
955 } else { 955 } else {
956 $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); 956 $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)');
957 } 957 }
958 } 958 }
959 959
960 $scope.removeNooError = function() { 960 $scope.removeNooError = function() {
961 $('#invalidIdea').css('display', 'block'); 961 $('#invalidIdea').css('display', 'block');
962 $('#noExist').css('display', 'none'); 962 $('#noExist').css('display', 'none');
963 }; 963 };
964 964
965 $scope.ideakeyPress = function(financial) { 965 $scope.ideakeyPress = function(financial) {
966 console.log("financial", financial); 966 console.log("financial", financial);
967 if (financial == undefined) { 967 if (financial == undefined) {
968 $('#invalidIdea').css('display', 'block'); 968 $('#invalidIdea').css('display', 'block');
969 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); 969 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)');
970 } else { 970 } else {
971 $('#invalidIdea').css('display', 'none'); 971 $('#invalidIdea').css('display', 'none');
972 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); 972 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)');
973 } 973 }
974 } 974 }
975 975
976 $scope.fundkeyPress = function(financial) { 976 $scope.fundkeyPress = function(financial) {
977 console.log("financial", financial); 977 console.log("financial", financial);
978 if (financial == undefined) { 978 if (financial == undefined) {
979 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); 979 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)');
980 } else { 980 } else {
981 $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); 981 $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)');
982 } 982 }
983 } 983 }
984 984
985 $scope.changeReferalIconColor = function(referalToken){ 985 $scope.changeReferalIconColor = function(referalToken){
986 if (referalToken == undefined || referalToken == '') { 986 if (referalToken == undefined || referalToken == '') {
987 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); 987 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)');
988 }else { 988 }else {
989 $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); 989 $('.referel-icon').css('background-color', 'rgb(66, 181, 73)');
990 } 990 }
991 } 991 }
992 992
993 }); 993 });
994 994
995 scotchApp.controller('verifyController', function($scope, $http, $location, $route, BASE_URL, Analytics) { 995 scotchApp.controller('verifyController', function($scope, $http, $location, $route, BASE_URL, Analytics) {
996 996
997 $scope.pendingPaymentId = $route.current.params.id 997 $scope.pendingPaymentId = $route.current.params.id
998 $http({ 998 $http({
999 method: "GET", 999 method: "GET",
1000 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, 1000 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId,
1001 }).then(function mySuccess(response) { 1001 }).then(function mySuccess(response) {
1002 $scope.data = response.data; 1002 $scope.data = response.data;
1003 console.log("response-1", response); 1003 console.log("response-1", response);
1004 $scope.pendingPaymentId = $route.current.params.id; 1004 $scope.pendingPaymentId = $route.current.params.id;
1005 1005
1006 $http({ 1006 $http({
1007 method: "GET", 1007 method: "GET",
1008 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', 1008 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}',
1009 }).then(function mySuccess(response) { 1009 }).then(function mySuccess(response) {
1010 $scope.paymentRecord = response.data; 1010 $scope.paymentRecord = response.data;
1011 }, function myError(response) { 1011 }, function myError(response) {
1012 console.log("response-2", response); 1012 console.log("response-2", response);
1013 }); 1013 });
1014 }, function myError(response) { 1014 }, function myError(response) {
1015 $scope.myWelcome = response.statusText; 1015 $scope.myWelcome = response.statusText;
1016 }); 1016 });
1017 1017
1018 $scope.checkView = false; 1018 $scope.checkView = false;
1019 $scope.verifyView = false; 1019 $scope.verifyView = false;
1020 $scope.searchResult = {} 1020 $scope.searchResult = {}
1021 $scope.pendingPaymentId = ''; 1021 $scope.pendingPaymentId = '';
1022 1022
1023 $scope.update = function() { 1023 $scope.update = function() {
1024 1024
1025 $http({ 1025 $http({
1026 method: 'GET', 1026 method: 'GET',
1027 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', 1027 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}',
1028 headers: {} 1028 headers: {}
1029 }).then(function mySuccess(searchResult) { 1029 }).then(function mySuccess(searchResult) {
1030 if (searchResult.data[0].status == "created") { 1030 if (searchResult.data[0].status == "created") {
1031 //if (searchResult.data[0].status == "cancelled") { 1031 //if (searchResult.data[0].status == "cancelled") {
1032 $scope.checkView = true; 1032 $scope.checkView = true;
1033 $scope.verifyView = false; 1033 $scope.verifyView = false;
1034 $scope.amount = searchResult.data[0].amount; 1034 $scope.amount = searchResult.data[0].amount;
1035 $scope.searchResult = searchResult.data[0]; 1035 $scope.searchResult = searchResult.data[0];
1036 console.log('====searchResult===', searchResult); 1036 console.log('====searchResult===', searchResult);
1037 console.log("searchResult=====",searchResult.data[0].razorOrderId) 1037 console.log("searchResult=====",searchResult.data[0].razorOrderId)
1038 var i = 0; 1038 var i = 0;
1039 $scope.amount = $scope.amount * 100; 1039 $scope.amount = $scope.amount * 100;
1040 var options = { 1040 var options = {
1041 "key": "rzp_live_mhSE1uOBlXvFyJ", 1041 "key": "rzp_live_mhSE1uOBlXvFyJ",
1042 //"key" : "rzp_test_YwHsVFiDIQ2WUQ", 1042 //"key" : "rzp_test_YwHsVFiDIQ2WUQ",
1043 "amount": $scope.amount, 1043 "amount": $scope.amount,
1044 1044
1045 "name": "Startup Jalsa", 1045 "name": "Startup Jalsa",
1046 "description": "amount", 1046 "description": "amount",
1047 "currency": "INR", 1047 "currency": "INR",
1048 "status": "done", 1048 "status": "done",
1049 1049
1050 "theme": { 1050 "theme": {
1051 "color": "#2196f3 ", 1051 "color": "#2196f3 ",
1052 "image_padding": "NO" 1052 "image_padding": "NO"
1053 }, 1053 },
1054 "modal": { 1054 "modal": {
1055 "ondismiss": function() {} 1055 "ondismiss": function() {}
1056 }, 1056 },
1057 "handler": function(response) { 1057 "handler": function(response) {
1058 createPayment(response); 1058 createPayment(response);
1059 } 1059 }
1060 }; 1060 };
1061 var rzp1 = new Razorpay(options); 1061 var rzp1 = new Razorpay(options);
1062 rzp1.open(); 1062 rzp1.open();
1063 $scope.paymentResponse = {}; 1063 $scope.paymentResponse = {};
1064 function createPayment(response) { 1064 function createPayment(response) {
1065 console.log("response======retepaymen",response); 1065 console.log("response======retepaymen",response);
1066 $scope.amount = $scope.amount/100; 1066 $scope.amount = $scope.amount/100;
1067 1067
1068 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 1068 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
1069 $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; 1069 $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId;
1070 $scope.paymentResponse.amount = $scope.amount; 1070 $scope.paymentResponse.amount = $scope.amount;
1071 $scope.paymentResponse.currency = $scope.searchResult.currency; 1071 $scope.paymentResponse.currency = $scope.searchResult.currency;
1072 $scope.paymentResponse.status = $scope.searchResult.status; 1072 $scope.paymentResponse.status = $scope.searchResult.status;
1073 $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; 1073 $scope.paymentResponse.applicantId = $scope.searchResult.applicantId;
1074 console.log("$scope.paymentResponse", $scope.paymentResponse) 1074 console.log("$scope.paymentResponse", $scope.paymentResponse)
1075 $http({ 1075 $http({
1076 method: 'PUT', 1076 method: 'PUT',
1077 url: BASE_URL + '/payments/' + $scope.searchResult.id, 1077 url: BASE_URL + '/payments/' + $scope.searchResult.id,
1078 data: $scope.paymentResponse, 1078 data: $scope.paymentResponse,
1079 headers: {} 1079 headers: {}
1080 }).then(function mySuccess(searchResult) { 1080 }).then(function mySuccess(searchResult) {
1081 console.log("searchResult--->",searchResult) 1081 console.log("searchResult--->",searchResult)
1082 // if(paymentResult.data.status == "created"){ 1082 // if(paymentResult.data.status == "created"){
1083 // Analytics.trackEvent('payments', 'click', 'Thankyou'); 1083 // Analytics.trackEvent('payments', 'click', 'Thankyou');
1084 // } 1084 // }
1085 console.log("finalsearchResult",searchResult) 1085 console.log("finalsearchResult",searchResult)
1086 $location.path("/confirmation") 1086 $location.path("/confirmation")
1087 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); 1087 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount);
1088 }, function myError(error) { 1088 }, function myError(error) {
1089 1089
1090 }); 1090 });
1091 } 1091 }
1092 } else { 1092 } else {
1093 1093
1094 } 1094 }
1095 1095
1096 }, function myError(error) {}); 1096 }, function myError(error) {});
1097 } 1097 }
1098 }); 1098 });
1099 1099
1100 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { 1100 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) {
1101 $scope.data = {}; 1101 $scope.data = {};
1102 $scope.check = false; 1102 $scope.check = false;
1103 $scope.numberCheck = false; 1103 $scope.numberCheck = false;
1104 1104
1105 /*open videos in modal*/ 1105 /*open videos in modal*/
1106 $scope.openyoutube16 = function(){ 1106 $scope.openyoutube16 = function(){
1107 $('#videoModel').modal('show'); 1107 $('#videoModel').modal('show');
1108 } 1108 }
1109 1109
1110 $scope.openyoutube17 = function(){ 1110 $scope.openyoutube17 = function(){
1111 $('#videoModels').modal('show'); 1111 $('#videoModels').modal('show');
1112 } 1112 }
1113 1113
1114 $scope.closeModal = function(){ 1114 $scope.closeModal = function(){
1115 var url = $('#youtubePlayer').attr('src'); 1115 var url = $('#youtubePlayer').attr('src');
1116 $('#youtubePlayer').attr('src', ''); 1116 $('#youtubePlayer').attr('src', '');
1117 $('#youtubePlayer').attr('src', url); 1117 $('#youtubePlayer').attr('src', url);
1118 } 1118 }
1119 /*open videos ends here*/ 1119 /*open videos ends here*/
1120 1120
1121 $scope.removeError = function() { 1121 $scope.removeError = function() {
1122 console.log("doooo") 1122 console.log("doooo")
1123 $('#invalidEmail').css('display', 'none'); 1123 $('#invalidEmail').css('display', 'none');
1124 $('#alreadyExist').css('display', 'none'); 1124 $('#alreadyExist').css('display', 'none');
1125 }; 1125 };
1126 1126
1127 // $scope.emailcheck = function(val) { 1127 // $scope.emailcheck = function(val) {
1128 // consol.log("kdsbd") 1128 // consol.log("kdsbd")
1129 // $scope.space = /\s/g.test(val); 1129 // $scope.space = /\s/g.test(val);
1130 // console.log("space",$scope.space) 1130 // console.log("space",$scope.space)
1131 // if (val == undefined) { 1131 // if (val == undefined) {
1132 // $('#invalidEmail').css('display', 'block'); 1132 // $('#invalidEmail').css('display', 'block');
1133 // } else { 1133 // } else {
1134 // $http({ 1134 // $http({
1135 // method: 'GET', 1135 // method: 'GET',
1136 // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', 1136 // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
1137 // headers: {} 1137 // headers: {}
1138 // }).then(function mySuccess(searchResult) { 1138 // }).then(function mySuccess(searchResult) {
1139 // console.log("searchResult1===>", searchResult) 1139 // console.log("searchResult1===>", searchResult)
1140 // if (searchResult.data.length == 0) { 1140 // if (searchResult.data.length == 0) {
1141 // $scope.check = false; 1141 // $scope.check = false;
1142 // } else { 1142 // } else {
1143 // $scope.check = true; 1143 // $scope.check = true;
1144 // $('#alreadyExist').css('display', 'block'); 1144 // $('#alreadyExist').css('display', 'block');
1145 // } 1145 // }
1146 // }, function myError(error) {}); 1146 // }, function myError(error) {});
1147 // } 1147 // }
1148 // }; 1148 // };
1149 1149
1150 // $scope.removeNoError = function() { 1150 // $scope.removeNoError = function() {
1151 // $('#invalidNumber').css('display', 'none'); 1151 // $('#invalidNumber').css('display', 'none');
1152 // $('#noExist').css('display', 'none'); 1152 // $('#noExist').css('display', 'none');
1153 // }; 1153 // };
1154 1154
1155 // $scope.numbercheck = function(number) { 1155 // $scope.numbercheck = function(number) {
1156 // // if (val == undefined) { 1156 // // if (val == undefined) {
1157 // // $('#invalidNumber').css('display', 'block'); 1157 // // $('#invalidNumber').css('display', 'block');
1158 // // } else { 1158 // // } else {
1159 // $http({ 1159 // $http({
1160 // method: 'GET', 1160 // method: 'GET',
1161 // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', 1161 // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}',
1162 // data: $scope.data, 1162 // data: $scope.data,
1163 // headers: {} 1163 // headers: {}
1164 // }).then(function mySuccess(searchResult) { 1164 // }).then(function mySuccess(searchResult) {
1165 // console.log("searchResult===>", searchResult) 1165 // console.log("searchResult===>", searchResult)
1166 // if (searchResult.data.length == 0) { 1166 // if (searchResult.data.length == 0) {
1167 // $scope.numberCheck = false; 1167 // $scope.numberCheck = false;
1168 // } else { 1168 // } else {
1169 // $scope.numberCheck = true; 1169 // $scope.numberCheck = true;
1170 // $('#noExist').css('display', 'block'); 1170 // $('#noExist').css('display', 'block');
1171 // } 1171 // }
1172 // }, function myError(error) {}); 1172 // }, function myError(error) {});
1173 // //} 1173 // //}
1174 1174
1175 // }; 1175 // };
1176 1176
1177 $scope.submit = function() { 1177 $scope.submit = function() {
1178 console.log($scope.data.name) 1178 console.log($scope.data.name)
1179 var randomNumber = ""+Math.random(); 1179 var randomNumber = ""+Math.random();
1180 var nameSpliced = $scope.data.name.slice(0,3); 1180 var nameSpliced = $scope.data.name.slice(0,3);
1181 var numberSpliced = randomNumber.slice(2,5); 1181 var numberSpliced = randomNumber.slice(2,5);
1182 $scope.data.referalToken = nameSpliced+numberSpliced; 1182 $scope.data.referalToken = nameSpliced+numberSpliced;
1183 $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); 1183 $scope.data.referalToken = $scope.data.referalToken.toUpperCase();
1184 1184
1185 $http({ 1185 $http({
1186 method: 'POST', 1186 method: 'POST',
1187 url: BASE_URL + '/ambassadors', 1187 url: BASE_URL + '/ambassadors',
1188 data: $scope.data, 1188 data: $scope.data,
1189 headers: {} 1189 headers: {}
1190 }).then(function mySuccess(result) { 1190 }).then(function mySuccess(result) {
1191 console.log("result", result) 1191 console.log("result", result)
1192 $scope.detail = result; 1192 $scope.detail = result;
1193 $('#myModal').modal('show'); 1193 $('#myModal').modal('show');
1194 $scope.data.name = ''; 1194 $scope.data.name = '';
1195 $scope.data.email = ''; 1195 $scope.data.email = '';
1196 $scope.data.mobile = ''; 1196 $scope.data.mobile = '';
1197 // $scope.data.discount = ''; 1197 // $scope.data.discount = '';
1198 1198
1199 }, function myError(error) { 1199 }, function myError(error) {
1200 console.log(error) 1200 console.log(error)
1201 console.log(error.data.error.message) 1201 console.log(error.data.error.message)
1202 }); 1202 });
1203 console.log($scope.data) 1203 console.log($scope.data)
1204 } 1204 }
1205 }); 1205 });
1206 1206
1207 1207
1208 1208
1209 1209