Commit 8ddc94e00ab2c7bf59cc1fcb0c7898d797d9f31c

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

update

Showing 2 changed files with 8 additions and 14 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"> Post deadline expires in</span> : <span id="pune"></span></label> 55 <label class="card-sub-title"><span style="color:red"> Post deadline expires in</span> : <span id="pune"></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"> Early bird deadline</span> : <span id="mumbai"></span>*</label> 77 <label class="card-sub-title"><span style="color:red"> Early bird deadline</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"> Early bird deadline</span> : <span id="ahmedabad"></span>*</label> 99 <label class="card-sub-title"><span style="color:red"> Early bird deadline</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-4 no-padding"> 274 <div class="col-xs-4 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">Idea</p> 280 <p align="center">Idea</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">Have an idea and need execution help?</span><br>
288 &#x26AC; Get feedback from mentors<br> 288 &#x26AC; Get feedback from mentors<br>
289 &#x26AC; Validate your idea. 289 &#x26AC; Validate your idea.
290 </p> 290 </p>
291 </div> 291 </div>
292 </div> 292 </div>
293 <div class="col-xs-4 no-padding-mobile"> 293 <div class="col-xs-4 no-padding-mobile">
294 <div class="card stages-card margin-auto-mobile"> 294 <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')"> 295 <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"> 296 <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"> 297 <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights">
298 <div class="card-content f-family"> 298 <div class="card-content f-family">
299 <p align="center">Product</p> 299 <p align="center">Product</p>
300 </div> 300 </div>
301 </label> 301 </label>
302 </div> 302 </div>
303 <div class="clearfix"></div> 303 <div class="clearfix"></div>
304 <div class="cards-content hidden-xs"> 304 <div class="cards-content hidden-xs">
305 <p> 305 <p>
306 &#x26AC; <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> 306 &#x26AC; <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br>
307 &#x26AC; Advice on fundraising<br> 307 &#x26AC; Advice on fundraising<br>
308 &#x26AC; Advice on go-to-market strategy 308 &#x26AC; Advice on go-to-market strategy
309 </p> 309 </p>
310 </div> 310 </div>
311 </div> 311 </div>
312 <div class="col-xs-4 no-padding"> 312 <div class="col-xs-4 no-padding">
313 <div class="card stages-card right-stage-card"> 313 <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')"> 314 <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"> 315 <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"> 316 <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights">
317 <div class="card-content f-family"> 317 <div class="card-content f-family">
318 <p align="center">Growth</p> 318 <p align="center">Growth</p>
319 </div> 319 </div>
320 </label> 320 </label>
321 </div> 321 </div>
322 <div class="clearfix"></div> 322 <div class="clearfix"></div>
323 <div class="cards-content hidden-xs"> 323 <div class="cards-content hidden-xs">
324 <p> 324 <p>
325 &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br> 325 &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br>
326 &#x26AC; Connect with Series A investors<br> 326 &#x26AC; Connect with Series A investors<br>
327 &#x26AC; Connect and hire top startups 327 &#x26AC; Connect and hire top startups
328 </p> 328 </p>
329 </div> 329 </div>
330 </div> 330 </div>
331 <!-- <div class="col-xs-3 no-padding"> 331 <!-- <div class="col-xs-3 no-padding">
332 <div class="card stages-card"> 332 <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')"> 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')">
334 <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="visit"> 334 <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"> 335 <img class="stage-img stage-visit" src="images/idea-stage.png" alt="Lights">
336 <div class="card-content f-family"> 336 <div class="card-content f-family">
337 <p align="center">Visitor</p> 337 <p align="center">Visitor</p>
338 </div> 338 </div>
339 </label> 339 </label>
340 </div> 340 </div>
341 <div class="clearfix"></div> 341 <div class="clearfix"></div>
342 <div class="cards-content hidden-xs"> 342 <div class="cards-content hidden-xs">
343 <p> 343 <p>
344 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br> 344 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br>
345 &#x26AC; Get feedback from mentors<br> 345 &#x26AC; Get feedback from mentors<br>
346 &#x26AC; Validate your idea. 346 &#x26AC; Validate your idea.
347 </p> 347 </p>
348 </div> 348 </div>
349 </div> --> 349 </div> -->
350 <div class="clearfix"></div> 350 <div class="clearfix"></div>
351 </div> 351 </div>
352 <div class="clearfix"></div> 352 <div class="clearfix"></div>
353 </div> 353 </div>
354 </div> 354 </div>
355 <div class="hidden-sm hidden-md hidden-lg"> 355 <div class="hidden-sm hidden-md hidden-lg">
356 <div class="cards-content" ng-if="data.stage == 'Idea'"> 356 <div class="cards-content" ng-if="data.stage == 'Idea'">
357 <p> 357 <p>
358 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br> 358 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br>
359 &#x26AC; Get feedback from mentors<br> 359 &#x26AC; Get feedback from mentors<br>
360 &#x26AC; Validate your idea. 360 &#x26AC; Validate your idea.
361 </p> 361 </p>
362 </div> 362 </div>
363 <div class="cards-content" ng-if="data.stage == 'Product'"> 363 <div class="cards-content" ng-if="data.stage == 'Product'">
364 <p> 364 <p>
365 &#x26AC; <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> 365 &#x26AC; <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br>
366 &#x26AC; Advice on fundraising<br> 366 &#x26AC; Advice on fundraising<br>
367 &#x26AC; Advice on go-to-market strategy 367 &#x26AC; Advice on go-to-market strategy
368 </p> 368 </p>
369 </div> 369 </div>
370 <div class="cards-content" ng-if="data.stage == 'Growth'"> 370 <div class="cards-content" ng-if="data.stage == 'Growth'">
371 <p> 371 <p>
372 &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br> 372 &#x26AC; <span style="font-weight:bold">Have traction and looking to scale up?</span><br>
373 &#x26AC; Connect with Series A investors<br> 373 &#x26AC; Connect with Series A investors<br>
374 &#x26AC; Connect and hire top startups 374 &#x26AC; Connect and hire top startups
375 </p> 375 </p>
376 </div> 376 </div>
377 <!-- <div class="cards-content" ng-if="data.stage == 'Visitor'"> 377 <!-- <div class="cards-content" ng-if="data.stage == 'Visitor'">
378 <p> 378 <p>
379 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br> 379 &#x26AC; <span style="font-weight:bold">Have an idea and need execution help?</span><br>
380 &#x26AC; Get feedback from mentors<br> 380 &#x26AC; Get feedback from mentors<br>
381 &#x26AC; Validate your idea. 381 &#x26AC; Validate your idea.
382 </p> 382 </p>
383 </div> --> 383 </div> -->
384 </div> 384 </div>
385 <!-- CLOSE STAGE SHADOW --> 385 <!-- CLOSE STAGE SHADOW -->
386 <div class="form-all"> 386 <div class="form-all">
387 <div class="col-xs-12 col-md-12 input-wrapper"> 387 <div class="col-xs-12 col-md-12 input-wrapper">
388 <div id="snackbar">Error ! Please fill in all fields.</div> 388 <div id="snackbar">Error ! Please fill in all fields.</div>
389 <div class="icon-circle-c"> 389 <div class="icon-circle-c">
390 <i class="material-icons" style="line-height: 31px;">person</i> 390 <i class="material-icons" style="line-height: 31px;">person</i>
391 </div> 391 </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)"> 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)">
393 </div> 393 </div>
394 <!-- <div class="col-xs-12 col-md-6 input-wrapper"> 394 <!-- <div class="col-xs-12 col-md-6 input-wrapper">
395 <div id="snackbar">Error ! Please fill in all fields.</div> 395 <div id="snackbar">Error ! Please fill in all fields.</div>
396 <div class="icon-circle-x"> 396 <div class="icon-circle-x">
397 <i class="material-icons" style="line-height: 31px;">assignment_ind</i> 397 <i class="material-icons" style="line-height: 31px;">assignment_ind</i>
398 </div> 398 </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)"> 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)">
400
400 </div> --> 401 </div> -->
401 <div class="col-xs-12 col-md-12 input-wrapper"> 402 <div class="col-xs-12 col-md-12 input-wrapper">
402 <div id="snackbar">Error ! Please fill in all fields.</div> 403 <div id="snackbar">Error ! Please fill in all fields.</div>
403 <div class="icon-circle-d"> 404 <div class="icon-circle-d">
404 <i class="material-icons" style="line-height: 30px;">email</i> 405 <i class="material-icons" style="line-height: 30px;">email</i>
405 </div> 406 </div>
406 <input type="email" name="email" 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)"> 407 <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)">
407 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> 409 <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label>
408 <label ng-if="check">Email already exist</label> 410 <label ng-if="check">Email already exist.<a href="http://apply.startupjalsa.com/#/pendingPayment/{{emailId}}">Click here</a> to complete payment</label>
409 <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> 411 <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label>
410 412
411 </div> 413 </div>
412 <!-- <div class="col-xs-12 col-md-6 input-wrapper f-family"> 414 <!-- <div class="col-xs-12 col-md-6 input-wrapper f-family">
413 <div class="icon-circle-f"> 415 <div class="icon-circle-f">
414 <i class="material-icons" style="line-height: 30px;">location_city</i> 416 <i class="material-icons" style="line-height: 30px;">location_city</i>
415 </div> 417 </div>
416 <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;"> 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;">
417 <option name="city" selected disabled value="">Choose City *</option> 419 <option name="city" selected disabled value="">Choose City *</option>
418 <option value="Agra">Agra</option> 420 <option value="Agra">Agra</option>
419 <option value="Ahmedabad">Ahmedabad</option> 421 <option value="Ahmedabad">Ahmedabad</option>
420 <option value="Ajmer">Ajmer</option> 422 <option value="Ajmer">Ajmer</option>
421 <option value="Aligarh">Aligarh</option> 423 <option value="Aligarh">Aligarh</option>
422 <option value="Allahabad">Allahabad</option> 424 <option value="Allahabad">Allahabad</option>
423 <option value="Ambattur">Ambattur</option> 425 <option value="Ambattur">Ambattur</option>
424 <option value="Amravati">Amravati</option> 426 <option value="Amravati">Amravati</option>
425 <option value="Amritsar">Amritsar</option> 427 <option value="Amritsar">Amritsar</option>
426 <option value="Asansol">Asansol</option> 428 <option value="Asansol">Asansol</option>
427 <option value="Aurangabad">Aurangabad</option> 429 <option value="Aurangabad">Aurangabad</option>
428 <option value="Bareilly">Bareilly</option> 430 <option value="Bareilly">Bareilly</option>
429 <option value="Belgaum">Belgaum</option> 431 <option value="Belgaum">Belgaum</option>
430 <option value="Bengaluru">Bengaluru</option> 432 <option value="Bengaluru">Bengaluru</option>
431 <option value="Bhavnagar">Bhavnagar</option> 433 <option value="Bhavnagar">Bhavnagar</option>
432 <option value="Bhayander">Bhayander</option> 434 <option value="Bhayander">Bhayander</option>
433 <option value="Bhilai Nagar">Bhilai Nagar</option> 435 <option value="Bhilai Nagar">Bhilai Nagar</option>
434 <option value="Bhiwandi">Bhiwandi</option> 436 <option value="Bhiwandi">Bhiwandi</option>
435 <option value="Bhopal">Bhopal</option> 437 <option value="Bhopal">Bhopal</option>
436 <option value="Bhubaneswar">Bhubaneswar</option> 438 <option value="Bhubaneswar">Bhubaneswar</option>
437 <option value="Bikaner">Bikaner</option> 439 <option value="Bikaner">Bikaner</option>
438 <option value="Chandigarh">Chandigarh</option> 440 <option value="Chandigarh">Chandigarh</option>
439 <option value="Chennai">Chennai</option> 441 <option value="Chennai">Chennai</option>
440 <option value="Chinchwad">Chinchwad</option> 442 <option value="Chinchwad">Chinchwad</option>
441 <option value="Coimbatore">Coimbatore</option> 443 <option value="Coimbatore">Coimbatore</option>
442 <option value="Cuttack">Cuttack</option> 444 <option value="Cuttack">Cuttack</option>
443 <option value="Dehradun">Dehradun</option> 445 <option value="Dehradun">Dehradun</option>
444 <option value="Delhi-NCR">Delhi-NCR</option> 446 <option value="Delhi-NCR">Delhi-NCR</option>
445 <option value="Dhanbad">Dhanbad</option> 447 <option value="Dhanbad">Dhanbad</option>
446 <option value="Dharwad">Dharwad</option> 448 <option value="Dharwad">Dharwad</option>
447 <option value="Dombivali">Dombivali</option> 449 <option value="Dombivali">Dombivali</option>
448 <option value="Durgapur">Durgapur</option> 450 <option value="Durgapur">Durgapur</option>
449 <option value="Faridabad">Faridabad</option> 451 <option value="Faridabad">Faridabad</option>
450 <option value="Firozabad">Firozabad</option> 452 <option value="Firozabad">Firozabad</option>
451 <option value="Gaya">Gaya</option> 453 <option value="Gaya">Gaya</option>
452 <option value="Ghaziabad">Ghaziabad</option> 454 <option value="Ghaziabad">Ghaziabad</option>
453 <option value="Gorakhpur">Gorakhpur</option> 455 <option value="Gorakhpur">Gorakhpur</option>
454 <option value="Gulbarga">Gulbarga</option> 456 <option value="Gulbarga">Gulbarga</option>
455 <option value="Guntur">Guntur</option> 457 <option value="Guntur">Guntur</option>
456 <option value="Gurgaon">Gurgaon</option> 458 <option value="Gurgaon">Gurgaon</option>
457 <option value="Guwahati">Guwahati</option> 459 <option value="Guwahati">Guwahati</option>
458 <option value="Gwalior">Gwalior</option> 460 <option value="Gwalior">Gwalior</option>
459 <option value="Haora">Haora</option> 461 <option value="Haora">Haora</option>
460 <option value="Hubli">Hubli</option> 462 <option value="Hubli">Hubli</option>
461 <option value="Hyderabad">Hyderabad</option> 463 <option value="Hyderabad">Hyderabad</option>
462 <option value="Indore">Indore</option> 464 <option value="Indore">Indore</option>
463 <option value="Jabalpur">Jabalpur</option> 465 <option value="Jabalpur">Jabalpur</option>
464 <option value="Jaipur">Jaipur</option> 466 <option value="Jaipur">Jaipur</option>
465 <option value="Jalandhar">Jalandhar</option> 467 <option value="Jalandhar">Jalandhar</option>
466 <option value="Jalgaon">Jalgaon</option> 468 <option value="Jalgaon">Jalgaon</option>
467 <option value="Jammu">Jammu</option> 469 <option value="Jammu">Jammu</option>
468 <option value="Jamnagar">Jamnagar</option> 470 <option value="Jamnagar">Jamnagar</option>
469 <option value="Jamshedpur">Jamshedpur</option> 471 <option value="Jamshedpur">Jamshedpur</option>
470 <option value="Jhansi">Jhansi</option> 472 <option value="Jhansi">Jhansi</option>
471 <option value="Jodhpur">Jodhpur</option> 473 <option value="Jodhpur">Jodhpur</option>
472 <option value="Kalyan">Kalyan</option> 474 <option value="Kalyan">Kalyan</option>
473 <option value="Kanpur">Kanpur</option> 475 <option value="Kanpur">Kanpur</option>
474 <option value="Kochi">Kochi</option> 476 <option value="Kochi">Kochi</option>
475 <option value="Kolapur">Kolapur</option> 477 <option value="Kolapur">Kolapur</option>
476 <option value="Kolkata">Kolkata</option> 478 <option value="Kolkata">Kolkata</option>
477 <option value="Kota">Kota</option> 479 <option value="Kota">Kota</option>
478 <option value="Loni">Loni</option> 480 <option value="Loni">Loni</option>
479 <option value="Lucknow">Lucknow</option> 481 <option value="Lucknow">Lucknow</option>
480 <option value="Ludhiana">Ludhiana</option> 482 <option value="Ludhiana">Ludhiana</option>
481 <option value="Madurai">Madurai</option> 483 <option value="Madurai">Madurai</option>
482 <option value="Maheshtala">Maheshtala</option> 484 <option value="Maheshtala">Maheshtala</option>
483 <option value="Malegoan">Malegoan</option> 485 <option value="Malegoan">Malegoan</option>
484 <option value="Mangalore">Mangalore</option> 486 <option value="Mangalore">Mangalore</option>
485 <option value="Meerut">Meerut</option> 487 <option value="Meerut">Meerut</option>
486 <option value="Mira">Mira</option> 488 <option value="Mira">Mira</option>
487 <option value="Moradabad">Moradabad</option> 489 <option value="Moradabad">Moradabad</option>
488 <option value="Mumbai">Mumbai</option> 490 <option value="Mumbai">Mumbai</option>
489 <option value="Mysore">Mysore</option> 491 <option value="Mysore">Mysore</option>
490 <option value="Nagpur">Nagpur</option> 492 <option value="Nagpur">Nagpur</option>
491 <option value="Nanded Waghala">Nanded Waghala</option> 493 <option value="Nanded Waghala">Nanded Waghala</option>
492 <option value="Nashik">Nashik</option> 494 <option value="Nashik">Nashik</option>
493 <option value="Navi Mumbai">Navi Mumbai</option> 495 <option value="Navi Mumbai">Navi Mumbai</option>
494 <option value="Nellore">Nellore</option> 496 <option value="Nellore">Nellore</option>
495 <option value="Noida">Noida</option> 497 <option value="Noida">Noida</option>
496 <option value="Patna">Patna</option> 498 <option value="Patna">Patna</option>
497 <option value="Pimpri">Pimpri</option> 499 <option value="Pimpri">Pimpri</option>
498 <option value="Pune">Pune</option> 500 <option value="Pune">Pune</option>
499 <option value="Raipur">Raipur</option> 501 <option value="Raipur">Raipur</option>
500 <option value="Rajkot">Rajkot</option> 502 <option value="Rajkot">Rajkot</option>
501 <option value="Ranchi">Ranchi</option> 503 <option value="Ranchi">Ranchi</option>
502 <option value="Saharanpur">Saharanpur</option> 504 <option value="Saharanpur">Saharanpur</option>
503 <option value="Salem">Salem</option> 505 <option value="Salem">Salem</option>
504 <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> 506 <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option>
505 <option value="Siliguri">Siliguri</option> 507 <option value="Siliguri">Siliguri</option>
506 <option value="Solapur">Solapur</option> 508 <option value="Solapur">Solapur</option>
507 <option value="Srinagar">Srinagar</option> 509 <option value="Srinagar">Srinagar</option>
508 <option value="Surat">Surat</option> 510 <option value="Surat">Surat</option>
509 <option value="Thane">Thane</option> 511 <option value="Thane">Thane</option>
510 <option value="Thiruvananthapuram">Thiruvananthapuram</option> 512 <option value="Thiruvananthapuram">Thiruvananthapuram</option>
511 <option value="Tiruchirappalli">Tiruchirappalli</option> 513 <option value="Tiruchirappalli">Tiruchirappalli</option>
512 <option value="Tirunelveli">Tirunelveli</option> 514 <option value="Tirunelveli">Tirunelveli</option>
513 <option value="Udaipur">Udaipur</option> 515 <option value="Udaipur">Udaipur</option>
514 <option value="Ujjain">Ujjain</option> 516 <option value="Ujjain">Ujjain</option>
515 <option value="Ulhasnagar">Ulhasnagar</option> 517 <option value="Ulhasnagar">Ulhasnagar</option>
516 <option value="Vadodara">Vadodara</option> 518 <option value="Vadodara">Vadodara</option>
517 <option value="Varanasi">Varanasi</option> 519 <option value="Varanasi">Varanasi</option>
518 <option value="Vasai Virar">Vasai Virar</option> 520 <option value="Vasai Virar">Vasai Virar</option>
519 <option value="Vijayawada">Vijayawada</option> 521 <option value="Vijayawada">Vijayawada</option>
520 <option value="Visakhapatnam">Visakhapatnam</option> 522 <option value="Visakhapatnam">Visakhapatnam</option>
521 <option value="Warangal">Warangal</option> 523 <option value="Warangal">Warangal</option>
522 <option value="anyOther">Any other</option> 524 <option value="anyOther">Any other</option>
523 </select> 525 </select>
524 </div> --> 526 </div> -->
525 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 527 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
526 <strong>Which city meet-up would you like to attend? </strong> 528 <strong>Which city meet-up would you like to attend? </strong>
527 <p class="line-space" ></p> 529 <p class="line-space" ></p>
528 </div> 530 </div>
529 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 531 <div class="col-xs-12 col-md-12 input-wrapper f-family">
530 <div class="icon-circle-p"> 532 <div class="icon-circle-p">
531 <i class="material-icons" style="line-height: 30px;">location_city</i> 533 <i class="material-icons" style="line-height: 30px;">location_city</i>
532 </div> 534 </div>
533 <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;"> 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;">
534 <option selected disabled value="">City meet-up *</option> 536 <option selected disabled value="">City meet-up *</option>
535 <option value="Chennai">November 9: Chennai</option> 537 <option value="Chennai">November 9: Chennai</option>
536 <option value="Pune">November 11: Pune</option> 538 <option value="Pune">November 11: Pune</option>
537 <option value="Ahmedabad">November 13: Ahmedabad</option> 539 <option value="Ahmedabad">November 13: Ahmedabad</option>
538 <option value="Mumbai">November 17: Mumbai</option> 540 <option value="Mumbai">November 17: Mumbai</option>
539 <option value="Bengaluru">November 23: Bengaluru</option> 541 <option value="Bengaluru">November 23: Bengaluru</option>
540 <option value="Delhi">November 25: Delhi</option> 542 <option value="Delhi">November 25: Delhi</option>
541 <option value="Hyderabad">November 27: Hyderabad</option> 543 <option value="Hyderabad">November 27: Hyderabad</option>
542 <option value="Chandigarh">December 1: Chandigarh</option> 544 <option value="Chandigarh">December 1: Chandigarh</option>
543 </select> 545 </select>
544 </div> --> 546 </div> -->
545 <div class="col-xs-12 col-md-12 input-wrapper"> 547 <div class="col-xs-12 col-md-12 input-wrapper">
546 <div id="snackbar">Error ! Please fill in all fields.</div> 548 <div id="snackbar">Error ! Please fill in all fields.</div>
547 <div class="icon-circle-e"> 549 <div class="icon-circle-e">
548 <i class="material-icons" style="line-height: 30px;">phone</i> 550 <i class="material-icons" style="line-height: 30px;">phone</i>
549 </div> 551 </div>
550 <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)"> 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)">
551 <label ng-if="numberCheck">Contact Number already exist.</label> 553 <label ng-if="numberCheck">Contact Number already exist.</label>
552 </div> 554 </div>
553 <div class="col-xs-12 col-md-12 input-wrapper"> 555 <div class="col-xs-12 col-md-12 input-wrapper">
554 <div id="snackbar">Error ! Please fill in all fields.</div> 556 <div id="snackbar">Error ! Please fill in all fields.</div>
555 <div class="icon-circle-x"> 557 <div class="icon-circle-x">
556 <i class="material-icons" style="line-height: 31px;">assignment_ind</i> 558 <i class="material-icons" style="line-height: 31px;">assignment_ind</i>
557 </div> 559 </div>
558 <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)"> 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)">
559 </div> 561 </div>
560 <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> 562 <!-- <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative">
561 <div id="snackbar">Error ! Please fill in all fields.</div> 563 <div id="snackbar">Error ! Please fill in all fields.</div>
562 <div class="icon-circle-h"> 564 <div class="icon-circle-h">
563 <i class="material-icons" style="line-height: 31px;">link</i> 565 <i class="material-icons" style="line-height: 31px;">link</i>
564 </div> 566 </div>
565 <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)"> 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)">
566 <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> 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>
567 </div> --> 569 </div> -->
568 <!-- <div class="hideform" ng-if="visitType"> --> 570 <!-- <div class="hideform" ng-if="visitType"> -->
569 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> 571 <!-- <div class="col-xs-12 col-md-12 f-family line-adjust">
570 <strong>Explain your idea/product briefly</strong> 572 <strong>Explain your idea/product briefly</strong>
571 <p class="line-space" ></p> 573 <p class="line-space" ></p>
572 </div> 574 </div>
573 <div class="col-xs-12 col-md-12 input-wrapper"> 575 <div class="col-xs-12 col-md-12 input-wrapper">
574 <div id="snackbar">Error ! Please fill in all fields.</div> 576 <div id="snackbar">Error ! Please fill in all fields.</div>
575 <div class="icon-circle-q"> 577 <div class="icon-circle-q">
576 <i class="material-icons" style="line-height: 31px;">thumb_up</i> 578 <i class="material-icons" style="line-height: 31px;">thumb_up</i>
577 </div> 579 </div>
578 <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)"> 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)">
579 </textarea> 581 </textarea>
580 <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> 582 <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label>
581 </div> 583 </div>
582 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 584 <div class="col-xs-12 col-md-12 input-wrapper f-family">
583 <div class="icon-circle-abcdefg"> 585 <div class="icon-circle-abcdefg">
584 <i class="material-icons" style="line-height: 30px;">open_with</i> 586 <i class="material-icons" style="line-height: 30px;">open_with</i>
585 </div> 587 </div>
586 <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"> 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">
587 <option selected disabled value="">Choose Industry *</option> 589 <option selected disabled value="">Choose Industry *</option>
588 <option value="Travel">Travel</option> 590 <option value="Travel">Travel</option>
589 <option value="Retail">Retail</option> 591 <option value="Retail">Retail</option>
590 <option value="Editech">Editech</option> 592 <option value="Editech">Editech</option>
591 <option value="Fintech">Fintech</option> 593 <option value="Fintech">Fintech</option>
592 <option value="Hardware">Hardware</option> 594 <option value="Hardware">Hardware</option>
593 <option value="Digital">Digital</option> 595 <option value="Digital">Digital</option>
594 <option value="Rural">Rural</option> 596 <option value="Rural">Rural</option>
595 <option value="others">Others</option> 597 <option value="others">Others</option>
596 </select> 598 </select>
597 </div> 599 </div>
598 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther"> 600 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther">
599 <div id="snackbar">Error ! Please fill in all fields.</div> 601 <div id="snackbar">Error ! Please fill in all fields.</div>
600 <div class="icon-circle-o"> 602 <div class="icon-circle-o">
601 <i class="material-icons" style="line-height: 31px;">open_with</i> 603 <i class="material-icons" style="line-height: 31px;">open_with</i>
602 </div> 604 </div>
603 <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name"> 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">
604 </div> --> 606 </div> -->
605 <!-- <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">
606 <div id="snackbar">Error ! Please fill in all fields.</div> 608 <div id="snackbar">Error ! Please fill in all fields.</div>
607 <div class="icon-circle-i"> 609 <div class="icon-circle-i">
608 <i class="material-icons" style="line-height: 31px;">business</i> 610 <i class="material-icons" style="line-height: 31px;">business</i>
609 </div> 611 </div>
610 <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)"> 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)">
611 <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> 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>
612 </div> 614 </div>
613 <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> 615 <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative">
614 <div id="snackbar">Error ! Please fill in all fields.</div> 616 <div id="snackbar">Error ! Please fill in all fields.</div>
615 <div class="icon-circle-j"> 617 <div class="icon-circle-j">
616 <i class="material-icons" style="line-height: 31px;">view_comfy</i> 618 <i class="material-icons" style="line-height: 31px;">view_comfy</i>
617 </div> 619 </div>
618 <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)"> 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)">
619 <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> 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>
620 </div> 622 </div>
621 <div class="hideform" ng-if="prototyp"> 623 <div class="hideform" ng-if="prototyp">
622 <div class="hideform" ng-if="protyp"> 624 <div class="hideform" ng-if="protyp">
623 <div class="col-xs-12 col-md-12 f-family line-adjust"> 625 <div class="col-xs-12 col-md-12 f-family line-adjust">
624 <strong>Product Launched? </strong> 626 <strong>Product Launched? </strong>
625 <p class="line-space" ></p> 627 <p class="line-space" ></p>
626 </div> 628 </div>
627 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 629 <div class="col-xs-12 col-md-12 input-wrapper f-family">
628 <div class="icon-circle-ab"> 630 <div class="icon-circle-ab">
629 <i class="material-icons" style="line-height: 30px;">launch</i> 631 <i class="material-icons" style="line-height: 30px;">launch</i>
630 </div> 632 </div>
631 <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"> 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">
632 <option selected disabled value="">Select *</option> 634 <option selected disabled value="">Select *</option>
633 <option value="yes">Yes</option> 635 <option value="yes">Yes</option>
634 <option value="no">No</option> 636 <option value="no">No</option>
635 </select> 637 </select>
636 </div> 638 </div>
637 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'"> 639 <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'">
638 <strong>Product Launch Period </strong> 640 <strong>Product Launch Period </strong>
639 <p class="line-space" ></p> 641 <p class="line-space" ></p>
640 </div> 642 </div>
641 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'"> 643 <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'">
642 <div class="icon-circle-abc"> 644 <div class="icon-circle-abc">
643 <i class="material-icons" style="line-height: 30px;">launch</i> 645 <i class="material-icons" style="line-height: 30px;">launch</i>
644 </div> 646 </div>
645 <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> 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;">
646 <option selected disabled value="">Select</option> 648 <option selected disabled value="">Select</option>
647 <option value="less than 1 Month">less than one month</option> 649 <option value="less than 1 Month">less than one month</option>
648 <option value="less than 6 Months">less than 6 months</option> 650 <option value="less than 6 Months">less than 6 months</option>
649 <option value="more than 6 Months">more than 6 months</option> 651 <option value="more than 6 Months">more than 6 months</option>
650 </select> 652 </select>
651 </div> 653 </div>
652 </div> 654 </div>
653 <div class="col-xs-12 col-md-6 input-wrapper"> 655 <div class="col-xs-12 col-md-6 input-wrapper">
654 <div id="snackbar">Error ! Please fill in all fields.</div> 656 <div id="snackbar">Error ! Please fill in all fields.</div>
655 <div class="icon-circle-k"> 657 <div class="icon-circle-k">
656 <i class="material-icons" style="line-height: 31px;">web</i> 658 <i class="material-icons" style="line-height: 31px;">web</i>
657 </div> 659 </div>
658 <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)"> 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)">
659 </div> 661 </div>
660 <div class="col-xs-12 col-md-6 input-wrapper"> 662 <div class="col-xs-12 col-md-6 input-wrapper">
661 <div id="snackbar">Error ! Please fill in all fields.</div> 663 <div id="snackbar">Error ! Please fill in all fields.</div>
662 <div class="icon-circle-m"> 664 <div class="icon-circle-m">
663 <i class="material-icons" style="line-height: 31px;">link</i> 665 <i class="material-icons" style="line-height: 31px;">link</i>
664 </div> 666 </div>
665 <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)"> 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)">
666 </div> 668 </div>
667 <div class="col-xs-12 col-md-6 input-wrapper"> 669 <div class="col-xs-12 col-md-6 input-wrapper">
668 <div id="snackbar">Error ! Please fill in all fields.</div> 670 <div id="snackbar">Error ! Please fill in all fields.</div>
669 <div class="icon-circle-l"> 671 <div class="icon-circle-l">
670 <i class="material-icons" style="line-height: 31px;">format_list_numbered</i> 672 <i class="material-icons" style="line-height: 31px;">format_list_numbered</i>
671 </div> 673 </div>
672 <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)"> 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)">
673 </div> 675 </div>
674 <div class="col-xs-12 col-md-6 input-wrapper"> 676 <div class="col-xs-12 col-md-6 input-wrapper">
675 <div id="snackbar">Error ! Please fill in all fields.</div> 677 <div id="snackbar">Error ! Please fill in all fields.</div>
676 <div class="icon-circle-n"> 678 <div class="icon-circle-n">
677 <i class="material-icons" style="line-height: 31px;">view_stream</i> 679 <i class="material-icons" style="line-height: 31px;">view_stream</i>
678 </div> 680 </div>
679 <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)"> 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)">
680 </div> 682 </div>
681 <div class="col-xs-12 col-md-12 input-wrapper f-family"> 683 <div class="col-xs-12 col-md-12 input-wrapper f-family">
682 <p><b>Have you risen any funding yet?</b></p> 684 <p><b>Have you risen any funding yet?</b></p>
683 <div class="icon-circle-bc"> 685 <div class="icon-circle-bc">
684 <i class="material-icons" style="line-height: 30px;">payment</i> 686 <i class="material-icons" style="line-height: 30px;">payment</i>
685 </div> 687 </div>
686 <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"> 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">
687 <option selected disabled value="">Select *</option> 689 <option selected disabled value="">Select *</option>
688 <option value="yes">Yes</option> 690 <option value="yes">Yes</option>
689 <option value="no">No</option> 691 <option value="no">No</option>
690 </select> 692 </select>
691 </div> 693 </div>
692 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'"> 694 <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'">
693 <div class="icon-circle-y" > 695 <div class="icon-circle-y" >
694 <i class="material-icons" style="line-height: 31px;">money</i> 696 <i class="material-icons" style="line-height: 31px;">money</i>
695 </div> 697 </div>
696 <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input> 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>
697 </div> 699 </div>
698 </div> --> 700 </div> -->
699 <!-- </div> --> 701 <!-- </div> -->
700 <!-- <div class="identity-shadow"> 702 <!-- <div class="identity-shadow">
701 <div class="icon-circle-bc"> 703 <div class="icon-circle-bc">
702 <i class="material-icons" style="line-height: 30px;">payment</i> 704 <i class="material-icons" style="line-height: 30px;">payment</i>
703 </div> 705 </div>
704 <div class="identity-question"> 706 <div class="identity-question">
705 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> 707 <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;">
706 <b>Have you risen any funding yet?</b> 708 <b>Have you risen any funding yet?</b>
707 <p style="color:grey"></p> 709 <p style="color:grey"></p>
708 </div> 710 </div>
709 <div class="clearfix"></div> 711 <div class="clearfix"></div>
710 </div> 712 </div>
711 <div class="stages identity-align"> 713 <div class="stages identity-align">
712 <div class="col-xs-12"> 714 <div class="col-xs-12">
713 <label class="card-small margin-right-label"> 715 <label class="card-small margin-right-label">
714 <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" > 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" >
715 <label class="f-family pull-left width-auto" for="yesRadio">Yes</label> 717 <label class="f-family pull-left width-auto" for="yesRadio">Yes</label>
716 </label> 718 </label>
717 <label class="card-small margin-right-label"> 719 <label class="card-small margin-right-label">
718 <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" > 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" >
719 721
720 <label class="f-family pull-left width-auto" for="noRadio">No</label> 722 <label class="f-family pull-left width-auto" for="noRadio">No</label>
721 </label> 723 </label>
722 </div> 724 </div>
723 </div> 725 </div>
724 726
725 <div class="clearfix"></div> 727 <div class="clearfix"></div>
726 </div> --> 728 </div> -->
727 <div class="col-xs-12 input-wrapper"> 729 <div class="col-xs-12 input-wrapper">
728 <div class="referel-icon" style="z-index: 999;"> 730 <div class="referel-icon" style="z-index: 999;">
729 <i class="material-icons" style="line-height: 30px;">code</i> 731 <i class="material-icons" style="line-height: 30px;">code</i>
730 </div> 732 </div>
731 <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)"> 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)">
732 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> 734 <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i>
733 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> 735 <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i>
734 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> 736 <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button>
735 </div> 737 </div>
736 <span style="padding-left:10px">* One ticket is valid for one person.</span> 738 <span style="padding-left:10px">* One ticket is valid for one person.</span>
737 <div class="clearfix"></div> 739 <div class="clearfix"></div>
738 <div class="text-center"> 740 <div class="text-center">
739 <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> 741 <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()">
740 </div> 742 </div>
741 743
742 </div> 744 </div>
743 </div> 745 </div>
744 <!-- CLOSE step-two-form --> 746 <!-- CLOSE step-two-form -->
745 </div> 747 </div>
746 <!-- col-xs-12 col-md-8 col-md-offset-2 --> 748 <!-- col-xs-12 col-md-8 col-md-offset-2 -->
747 </form> 749 </form>
748 </div> 750 </div>
749 </div> 751 </div>
750 <!-- CLOSE FORM --> 752 <!-- CLOSE FORM -->
751 <footer> 753 <footer>
752 <img id="footer" class="img-responsive banner"> 754 <img id="footer" class="img-responsive banner">
753 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> 755 <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center>
754 </footer> 756 </footer>
755 <!-- </div> CLOSE CHECK VIEW --> 757 <!-- </div> CLOSE CHECK VIEW -->
756 <div ng-if="verifyView"> 758 <div ng-if="verifyView">
757 <div style="margin-bottom: 0px;" class="text-center"> 759 <div style="margin-bottom: 0px;" class="text-center">
758 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> 760 <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()">
759 </div> 761 </div>
760 </div> 762 </div>
761 </div> <!-- CLOSE NEW-CONTROLLER --> 763 </div> <!-- CLOSE NEW-CONTROLLER -->
762 <!-- <div id="snacsskbar">Registration done successfully.</div> 764 <!-- <div id="snacsskbar">Registration done successfully.</div>
763 --><!-- <div class="modal fade" id="myModal" role="dialog"> 765 --><!-- <div class="modal fade" id="myModal" role="dialog">
764 <div class="modal-dialog" style="left: auto;"> 766 <div class="modal-dialog" style="left: auto;">
765 <div class="modal-content"> 767 <div class="modal-content">
766 <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> 768 <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4>
767 <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> 769 <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px">
768 <tbody style="background-color:#f9f9f9"> 770 <tbody style="background-color:#f9f9f9">
769 <tr> 771 <tr>
770 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 772 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
771 </tr> 773 </tr>
772 <tr> 774 <tr>
773 <td align="left" valign="top" style="padding:10px"> 775 <td align="left" valign="top" style="padding:10px">
774 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 776 <table width="100%" border="0" cellspacing="0" cellpadding="0">
775 <tbody> 777 <tbody>
776 <tr> 778 <tr>
777 <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> 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>
778 </tr> 780 </tr>
779 </tbody> 781 </tbody>
780 </table> 782 </table>
781 </td> 783 </td>
782 </tr> 784 </tr>
783 </tbody> 785 </tbody>
784 <tbody> 786 <tbody>
785 <tr> 787 <tr>
786 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 788 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
787 </tr> 789 </tr>
788 <tr> 790 <tr>
789 <td align="left" valign="top" style="padding:10px"> 791 <td align="left" valign="top" style="padding:10px">
790 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 792 <table width="100%" border="0" cellspacing="0" cellpadding="0">
791 <tbody> 793 <tbody>
792 <tr> 794 <tr>
793 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> 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>
794 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</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>
795 </tr> 797 </tr>
796 </tbody> 798 </tbody>
797 </table> 799 </table>
798 </td> 800 </td>
799 </tr> 801 </tr>
800 <tr> 802 <tr>
801 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 803 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
802 </tr> 804 </tr>
803 <tr> 805 <tr>
804 <td align="left" valign="top" style="padding:10px"> 806 <td align="left" valign="top" style="padding:10px">
805 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 807 <table width="100%" border="0" cellspacing="0" cellpadding="0">
806 <tbody> 808 <tbody>
807 <tr> 809 <tr>
808 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> 810 <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td>
809 <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</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>
810 </tr> 812 </tr>
811 </tbody> 813 </tbody>
812 </table> 814 </table>
813 </td> 815 </td>
814 </tr> 816 </tr>
815 <tr> 817 <tr>
816 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 818 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
817 </tr> 819 </tr>
818 <tr> 820 <tr>
819 <td align="left" valign="top" style="padding:10px"> 821 <td align="left" valign="top" style="padding:10px">
820 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 822 <table width="100%" border="0" cellspacing="0" cellpadding="0">
821 <tbody> 823 <tbody>
822 <tr> 824 <tr>
823 <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> 825 <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td>
824 <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</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>
825 </tr> 827 </tr>
826 </tbody> 828 </tbody>
827 </table> 829 </table>
828 </td> 830 </td>
829 </tr> 831 </tr>
830 <tr> 832 <tr>
831 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 833 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
832 </tr> 834 </tr>
833 <tr> 835 <tr>
834 <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> 836 <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px">
835 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 837 <table width="100%" border="0" cellspacing="0" cellpadding="0">
836 <tbody> 838 <tbody>
837 <tr> 839 <tr>
838 <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> 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>
839 <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</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>
840 </tr> 842 </tr>
841 </tbody> 843 </tbody>
842 </table> 844 </table>
843 </td> 845 </td>
844 </tr> 846 </tr>
845 <tr> 847 <tr>
846 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> 848 <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td>
847 </tr> 849 </tr>
848 </tbody> 850 </tbody>
849 </table> 851 </table>
850 <div style="text-align:center;margin-bottom:5%"> 852 <div style="text-align:center;margin-bottom:5%">
851 <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> 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>
852 </div> 854 </div>
853 </div> 855 </div>
854 </div> 856 </div>
855 </div> 857 </div>
856 858
857 <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> 859 <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()">
858 <div class="modal-dialog" style="left: auto;"> 860 <div class="modal-dialog" style="left: auto;">
859 <div class="modal-content" > 861 <div class="modal-content" >
860 862
861 <div class="modal-body" style="text-align: right;" > 863 <div class="modal-body" style="text-align: right;" >
862 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> 864 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i>
863 <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> 865 <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe>
864 </div> 866 </div>
865 867
866 </div> 868 </div>
867 </div> 869 </div>
868 </div> 870 </div>
869 871
870 872
871 <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> 873 <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()">
872 <div class="modal-dialog" style="left: auto;"> 874 <div class="modal-dialog" style="left: auto;">
873 <div class="modal-content"> 875 <div class="modal-content">
874 <div class="modal-body" style="text-align: right;" > 876 <div class="modal-body" style="text-align: right;" >
875 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> 877 <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i>
876 <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> 878 <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe>
877 </div> 879 </div>
878 880
879 </div> 881 </div>
880 </div> 882 </div>
881 </div> 883 </div>
882 884
883 885
884 886
885 887
886 888
887 889
888 --> 890 -->
889 <span ng-show="span == true"> 891 <span ng-show="span == true">
890 <span id="chennai"></span> 892 <span id="chennai"></span>
891 <span id="pune"></span> 893 <span id="pune"></span>
892 <span id="mumbai"></span> 894 <span id="mumbai"></span>
893 <span id="hyderabad"></span> 895 <span id="hyderabad"></span>
894 <span id="chandigarh"></span> 896 <span id="chandigarh"></span>
895 <span id="delhi"></span> 897 <span id="delhi"></span>
896 <span id="ahmedabad"></span> 898 <span id="ahmedabad"></span>
897 <span id="bangalore"></span> 899 <span id="bangalore"></span>
898 <span id="jaipur"></span> 900 <span id="jaipur"></span>
899 <span id="maininvest"></span> 901 <span id="maininvest"></span>
900 </span>
902 </span>
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 11, 2017 12:00:00").getTime(); 111 var mumbai = new Date("Nov 11, 2017 12: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 13, 2017 12:00:00").getTime(); 135 var ahmedabad = new Date("Nov 13, 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 $('#alreadyExist').css('display', 'block'); 371 $('#alreadyExist').css('display', 'block');
371 372
372 } 373 }
373 console.log("$scope.data.id",searchResult.data) 374 console.log("$scope.data.id",searchResult.data)
374 }, function myError(error) {}); 375 }, function myError(error) {});
375 } 376 }
376 }; 377 };
377 378
378 $scope.removeNoError = function() { 379 $scope.removeNoError = function() {
379 $('#noExist').css('display', 'none'); 380 $('#noExist').css('display', 'none');
380 }; 381 };
381 382
382 $scope.numbercheck = function(number) { 383 $scope.numbercheck = function(number) {
383 $http({ 384 $http({
384 method: 'GET', 385 method: 'GET',
385 url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', 386 url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}',
386 data: $scope.data, 387 data: $scope.data,
387 headers: {} 388 headers: {}
388 }).then(function mySuccess(searchResult) { 389 }).then(function mySuccess(searchResult) {
389 console.log("searchResult===>", searchResult) 390 console.log("searchResult===>", searchResult)
390 if (searchResult.data.length == 0) { 391 if (searchResult.data.length == 0) {
391 $scope.numberCheck = false; 392 $scope.numberCheck = false;
392 393
393 } else { 394 } else {
394 $scope.numberCheck = true; 395 $scope.numberCheck = true;
395 $('#noExist').css('display', 'block'); 396 $('#noExist').css('display', 'block');
396 } 397 }
397 }, function myError(error) {}); 398 }, function myError(error) {});
398 }; 399 };
399 400
400 $rootScope.tokenCall = function(val) { 401 $rootScope.tokenCall = function(val) {
401 console.log('val-------->', val); 402 console.log('val-------->', val);
402 if (val == undefined) { 403 if (val == undefined) {
403 $('#invalidToken').css('display', 'block'); 404 $('#invalidToken').css('display', 'block');
404 } else { 405 } else {
405 val = val.toUpperCase(); 406 val = val.toUpperCase();
406 $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"}}}')
407 .then(function(searchResult) { 408 .then(function(searchResult) {
408 console.log("searchResult",searchResult) 409 console.log("searchResult",searchResult)
409 if (searchResult.data.length == 0) { 410 if (searchResult.data.length == 0) {
410 $scope.tokencheck = false; 411 $scope.tokencheck = false;
411 $scope.discountAmount = 0; 412 $scope.discountAmount = 0;
412 } else { 413 } else {
413 $scope.discountpercentage = searchResult.data[0].discount; 414 $scope.discountpercentage = searchResult.data[0].discount;
414 $scope.tokencheck = true; 415 $scope.tokencheck = true;
415 } 416 }
416 },function(err){ 417 },function(err){
417 console.log(err) 418 console.log(err)
418 }); 419 });
419 420
420 } 421 }
421 }; 422 };
422 423
423 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ 424 /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/
424 $(document).ready( 425 $(document).ready(
425 function() { 426 function() {
426 $('input:submit').attr('disabled', true); 427 $('input:submit').attr('disabled', true);
427 $('input:file').change( 428 $('input:file').change(
428 function() { 429 function() {
429 if ($("#picture").val()) { 430 if ($("#picture").val()) {
430 $('input:submit').removeAttr('disabled'); 431 $('input:submit').removeAttr('disabled');
431 } else { 432 } else {
432 $('input:submit').attr('disabled', true); 433 $('input:submit').attr('disabled', true);
433 } 434 }
434 }); 435 });
435 }); 436 });
436 437
437 /*****THIS IS FOR STEP ONE FORM ******/ 438 /*****THIS IS FOR STEP ONE FORM ******/
438 // $scope.next = function() { 439 // $scope.next = function() {
439 // $scope.data.status = null 440 // $scope.data.status = null
440 // 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) {
441 // var x = document.getElementById("snackbar") 442 // var x = document.getElementById("snackbar")
442 // x.className = "show"; 443 // x.className = "show";
443 // setTimeout(function() { 444 // setTimeout(function() {
444 // x.className = x.className.replace("show", ""); 445 // x.className = x.className.replace("show", "");
445 // }, 3000); 446 // }, 3000);
446 // } 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) {
447 // $scope.infoForm = true; 448 // $scope.infoForm = true;
448 // console.log("sdasdasdsa"); 449 // console.log("sdasdasdsa");
449 // $scope.data.stage = $scope.data.stage; 450 // $scope.data.stage = $scope.data.stage;
450 // $scope.detail = {}; 451 // $scope.detail = {};
451 // $scope.data.phone = "+91" + $scope.data.number; 452 // $scope.data.phone = "+91" + $scope.data.number;
452 // $http({ 453 // $http({
453 // method: 'POST', 454 // method: 'POST',
454 // url: BASE_URL + '/information', 455 // url: BASE_URL + '/information',
455 // data: $scope.data, 456 // data: $scope.data,
456 // headers: {} 457 // headers: {}
457 // }).then(function mySuccess(result) { 458 // }).then(function mySuccess(result) {
458 // Analytics.trackEvent('information', 'click', 'django.mp4'); 459 // Analytics.trackEvent('information', 'click', 'django.mp4');
459 // console.log("result", result) 460 // console.log("result", result)
460 // $scope.detail = result; 461 // $scope.detail = result;
461 // data.applicantId = result.data.id; 462 // data.applicantId = result.data.id;
462 // $scope.userId = result.data.id; 463 // $scope.userId = result.data.id;
463 464
464 // }, function myError(error) {}); 465 // }, function myError(error) {});
465 466
466 // } 467 // }
467 468
468 // } 469 // }
469 470
470 $scope.calculateAmount = function(){ 471 $scope.calculateAmount = function(){
471 if($scope.tokencheck == false){ 472 if($scope.tokencheck == false){
472 $scope.data.referalToken = null; 473 $scope.data.referalToken = null;
473 } 474 }
474 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) {
475 var x = document.getElementById("snackbar") 476 var x = document.getElementById("snackbar")
476 x.className = "show"; 477 x.className = "show";
477 setTimeout(function() { 478 setTimeout(function() {
478 x.className = x.className.replace("show", ""); 479 x.className = x.className.replace("show", "");
479 }, 3000); 480 }, 3000);
480 } 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) {
481 $scope.infoForm = true; 482 $scope.infoForm = true;
482 console.log("sdasdasdsa"); 483 console.log("sdasdasdsa");
483 $scope.data.stage = $scope.data.stage; 484 $scope.data.stage = $scope.data.stage;
484 $scope.detail = {}; 485 $scope.detail = {};
485 $scope.data.phone = "+91" + $scope.data.number; 486 $scope.data.phone = "+91" + $scope.data.number;
486 $http({ 487 $http({
487 method: 'POST', 488 method: 'POST',
488 url: BASE_URL + '/applicants', 489 url: BASE_URL + '/applicants',
489 data: $scope.data, 490 data: $scope.data,
490 headers: {} 491 headers: {}
491 }).then(function mySuccess(result) { 492 }).then(function mySuccess(result) {
492 Analytics.trackEvent('applicants', 'click','Users'); 493 Analytics.trackEvent('applicants', 'click','Users');
493 console.log("result", result) 494 console.log("result", result)
494 $scope.detail = result; 495 $scope.detail = result;
495 data.applicantId = result.data.id; 496 data.applicantId = result.data.id;
496 //$scope.userId = result.data.id; 497 //$scope.userId = result.data.id;
497 498
498 if($scope.data.citymeetup == "pune"){ 499 if($scope.data.citymeetup == "pune"){
499 if ($scope.data.stage == "Idea") { 500 if ($scope.data.stage == "Idea") {
500 console.log("$scope.data", $scope.data) 501 console.log("$scope.data", $scope.data)
501 $scope.ticketAmnt = 750; 502 $scope.ticketAmnt = 750;
502 } 503 }
503 504
504 if ($scope.data.stage == "Product") { 505 if ($scope.data.stage == "Product") {
505 $scope.ticketAmnt = 1500; 506 $scope.ticketAmnt = 1500;
506 } 507 }
507 508
508 if ($scope.data.stage == "Growth") { 509 if ($scope.data.stage == "Growth") {
509 $scope.ticketAmnt = 1500; 510 $scope.ticketAmnt = 1500;
510 } 511 }
511 } 512 }
512 else if($scope.data.citymeetup == "mainevent"){ 513 else if($scope.data.citymeetup == "mainevent"){
513 // if ($scope.data.stage == '') { 514 // if ($scope.data.stage == '') {
514 console.log("$scope.data", $scope.data) 515 console.log("$scope.data", $scope.data)
515 $scope.ticketAmnt = 5000; 516 $scope.ticketAmnt = 5000;
516 // } 517 // }
517 518
518 // if ($scope.data.stage == "Product") { 519 // if ($scope.data.stage == "Product") {
519 // $scope.ticketAmnt = 1500; 520 // $scope.ticketAmnt = 1500;
520 // } 521 // }
521 522
522 // if ($scope.data.stage == "Growth") { 523 // if ($scope.data.stage == "Growth") {
523 // $scope.ticketAmnt = 1500; 524 // $scope.ticketAmnt = 1500;
524 // } 525 // }
525 } 526 }
526 else{ 527 else{
527 if ($scope.data.stage == "Idea") { 528 if ($scope.data.stage == "Idea") {
528 console.log("$scope.data", $scope.data) 529 console.log("$scope.data", $scope.data)
529 $scope.ticketAmnt = 500; 530 $scope.ticketAmnt = 500;
530 } 531 }
531 532
532 if ($scope.data.stage == "Product") { 533 if ($scope.data.stage == "Product") {
533 $scope.ticketAmnt = 1000; 534 $scope.ticketAmnt = 1000;
534 } 535 }
535 536
536 if ($scope.data.stage == "Growth") { 537 if ($scope.data.stage == "Growth") {
537 $scope.ticketAmnt = 1000; 538 $scope.ticketAmnt = 1000;
538 } 539 }
539 } 540 }
540 // if ($scope.data.stage == "Visitor") { 541 // if ($scope.data.stage == "Visitor") {
541 // $scope.ticketAmnt = 500; 542 // $scope.ticketAmnt = 500;
542 // } 543 // }
543 var amount = $scope.ticketAmnt * 100 544 var amount = $scope.ticketAmnt * 100
544 if($scope.tokencheck == true){ 545 if($scope.tokencheck == true){
545 var amount = $scope.ticketAmnt 546 var amount = $scope.ticketAmnt
546 $scope.discountAmount = (amount * $scope.discountpercentage)/100 547 $scope.discountAmount = (amount * $scope.discountpercentage)/100
547 console.log("finalAmount====>",$scope.discountAmount) 548 console.log("finalAmount====>",$scope.discountAmount)
548 } 549 }
549 550
550 var taxAmount = $scope.ticketAmnt - $scope.discountAmount 551 var taxAmount = $scope.ticketAmnt - $scope.discountAmount
551 console.log("$scope.taxTotal----",taxAmount) 552 console.log("$scope.taxTotal----",taxAmount)
552 $scope.taxTotal = (taxAmount * 18)/100 553 $scope.taxTotal = (taxAmount * 18)/100
553 $scope.payingAmnt = taxAmount + $scope.taxTotal 554 $scope.payingAmnt = taxAmount + $scope.taxTotal
554 console.log("taxincludedamount----", $scope.payingAmnt) 555 console.log("taxincludedamount----", $scope.payingAmnt)
555 console.log("$scope.taxTotal----", $scope.taxTotal) 556 console.log("$scope.taxTotal----", $scope.taxTotal)
556 // } 557 // }
557 558
558 /*****THIS IS FOR STEP THREE FORM ******/ 559 /*****THIS IS FOR STEP THREE FORM ******/
559 // $scope.create = function() { 560 // $scope.create = function() {
560 // 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) {
561 // var x = document.getElementById("snackbar") 562 // var x = document.getElementById("snackbar")
562 // x.className = "show"; 563 // x.className = "show";
563 // setTimeout(function() { 564 // setTimeout(function() {
564 // x.className = x.className.replace("show", ""); 565 // x.className = x.className.replace("show", "");
565 // }, 3000); 566 // }, 3000);
566 // } 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) {
567 // $scope.infoForm = true; 568 // $scope.infoForm = true;
568 // console.log("sdasdasdsa"); 569 // console.log("sdasdasdsa");
569 // $scope.data.stage = $scope.data.stage; 570 // $scope.data.stage = $scope.data.stage;
570 // $scope.detail = {}; 571 // $scope.detail = {};
571 // $scope.data.phone = "+91" + $scope.data.number; 572 // $scope.data.phone = "+91" + $scope.data.number;
572 // $http({ 573 // $http({
573 // method: 'POST', 574 // method: 'POST',
574 // url: BASE_URL + '/applicants', 575 // url: BASE_URL + '/applicants',
575 // data: $scope.data, 576 // data: $scope.data,
576 // headers: {} 577 // headers: {}
577 // }).then(function mySuccess(result) { 578 // }).then(function mySuccess(result) {
578 579
579 // console.log("=====result=====", result) 580 // console.log("=====result=====", result)
580 // $scope.detail = result; 581 // $scope.detail = result;
581 // data.applicantId = result.data.id; 582 // data.applicantId = result.data.id;
582 // $scope.userId = result.data.id; 583 // $scope.userId = result.data.id;
583 // console.log("=====data=====", data) 584 // console.log("=====data=====", data)
584 // data.amount = $scope.payingAmnt + $scope.taxTotal; 585 // data.amount = $scope.payingAmnt + $scope.taxTotal;
585 data.amount = $scope.payingAmnt; 586 data.amount = $scope.payingAmnt;
586 console.log("$scope.taxTotal",data.amount) 587 console.log("$scope.taxTotal",data.amount)
587 if ($scope.detail != null) { 588 if ($scope.detail != null) {
588 $http({ 589 $http({
589 method: 'POST', 590 method: 'POST',
590 url: BASE_URL + '/payments', 591 url: BASE_URL + '/payments',
591 data: data, 592 data: data,
592 headers: {} 593 headers: {}
593 }).then(function mySuccess(paymentResult) { 594 }).then(function mySuccess(paymentResult) {
594 console.log("paymentResult",paymentResult) 595 console.log("paymentResult",paymentResult)
595 $scope.paymentResult = paymentResult; 596 $scope.paymentResult = paymentResult;
596 }, function myError(error) {}); 597 }, function myError(error) {});
597 } 598 }
598 var i = 0; 599 var i = 0;
599 //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100; 600 //$scope.payingAmnt = ($scope.payingAmnt + $scope.taxTotal) * 100;
600 601
601 $scope.payingAmnt = $scope.payingAmnt * 100; 602 $scope.payingAmnt = $scope.payingAmnt * 100;
602 console.log("$scope.taxTotal----", $scope.payingAmnt) 603 console.log("$scope.taxTotal----", $scope.payingAmnt)
603 var options = { 604 var options = {
604 "key": "rzp_live_mhSE1uOBlXvFyJ", 605 "key": "rzp_live_mhSE1uOBlXvFyJ",
605 //"key": "rzp_test_YwHsVFiDIQ2WUQ", 606 //"key": "rzp_test_YwHsVFiDIQ2WUQ",
606 "amount": $scope.payingAmnt , 607 "amount": $scope.payingAmnt ,
607 608
608 "name": "Startup Jalsa", 609 "name": "Startup Jalsa",
609 "description": "amount", 610 "description": "amount",
610 "currency": "INR", 611 "currency": "INR",
611 "status": "done", 612 "status": "done",
612 613
613 "theme": { 614 "theme": {
614 "color": "#2196f3 ", 615 "color": "#2196f3 ",
615 "image_padding": "NO" 616 "image_padding": "NO"
616 }, 617 },
617 "modal": { 618 "modal": {
618 "ondismiss": function() {} 619 "ondismiss": function() {}
619 }, 620 },
620 "handler": function(response) { 621 "handler": function(response) {
621 createPayment(response); 622 createPayment(response);
622 } 623 }
623 }; 624 };
624 var rzp1 = new Razorpay(options); 625 var rzp1 = new Razorpay(options);
625 rzp1.open(); 626 rzp1.open();
626 $scope.paymentResponse = {}; 627 $scope.paymentResponse = {};
627 628
628 function createPayment(response) { 629 function createPayment(response) {
629 console.log("response====from===razorpay",response) 630 console.log("response====from===razorpay",response)
630 $route.reload(); 631 $route.reload();
631 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 632 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
632 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; 633 $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId;
633 $scope.paymentResponse.amount = data.amount; 634 $scope.paymentResponse.amount = data.amount;
634 $scope.paymentResponse.currency = "INR"; 635 $scope.paymentResponse.currency = "INR";
635 $scope.paymentResponse.status = $scope.paymentResult.data.status; 636 $scope.paymentResponse.status = $scope.paymentResult.data.status;
636 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); 637 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount);
637 $http({ 638 $http({
638 method: 'PUT', 639 method: 'PUT',
639 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, 640 url: BASE_URL + '/payments/' + $scope.paymentResult.data.id,
640 data: $scope.paymentResponse, 641 data: $scope.paymentResponse,
641 headers: {} 642 headers: {}
642 }).then(function mySuccess(searchResult) { 643 }).then(function mySuccess(searchResult) {
643 // if(paymentResult.data.status == "created"){ 644 // if(paymentResult.data.status == "created"){
644 645
645 // } 646 // }
646 console.log("searchResult", searchResult) 647 console.log("searchResult", searchResult)
647 $location.path("/confirmation") 648 $location.path("/confirmation")
648 //$scope.showToastr() 649 //$scope.showToastr()
649 //toaster.success("Registration done successfully"); 650 //toaster.success("Registration done successfully");
650 651
651 }, function myError(error) {}); 652 }, function myError(error) {});
652 } 653 }
653 }, function myError(error) {}); 654 }, function myError(error) {});
654 } 655 }
655 656
656 } 657 }
657 658
658 //}, function myError(error) {}); 659 //}, function myError(error) {});
659 //} 660 //}
660 661
661 //} 662 //}
662 663
663 // $scope.showToastr = function() { 664 // $scope.showToastr = function() {
664 // console.log("called toast") 665 // console.log("called toast")
665 // var x = document.getElementById("snacsskbar") 666 // var x = document.getElementById("snacsskbar")
666 // x.className = "show"; 667 // x.className = "show";
667 // setTimeout(function() { 668 // setTimeout(function() {
668 // x.className = x.className.replace("show", ""); 669 // x.className = x.className.replace("show", "");
669 // }, 3000); 670 // }, 3000);
670 // } 671 // }
671 672
672 /*kk***This code for change data when click to chooses stages***/ 673 /*kk***This code for change data when click to chooses stages***/
673 $scope.proto = true; 674 $scope.proto = true;
674 $scope.businessmodel = true; 675 $scope.businessmodel = true;
675 $scope.Idea = true; 676 $scope.Idea = true;
676 $scope.current = true; 677 $scope.current = true;
677 678
678 $scope.stage = function(stage) { 679 $scope.stage = function(stage) {
679 $scope.stagekeyPress(); 680 $scope.stagekeyPress();
680 console.log("stage--2",stage) 681 console.log("stage--2",stage)
681 682
682 if (stage == 'Idea') { 683 if (stage == 'Idea') {
683 $scope.Productshow = "no"; 684 $scope.Productshow = "no";
684 $scope.current = 10; 685 $scope.current = 10;
685 $scope.proto = true; 686 $scope.proto = true;
686 // $scope.visitType = true; 687 // $scope.visitType = true;
687 $scope.prototyp = false; 688 $scope.prototyp = false;
688 $scope.protyp = false; 689 $scope.protyp = false;
689 $scope.market = false; 690 $scope.market = false;
690 $scope.risks = false; 691 $scope.risks = false;
691 $scope.team = false; 692 $scope.team = false;
692 $scope.pitch = false; 693 $scope.pitch = false;
693 $scope.financials = false; 694 $scope.financials = false;
694 $scope.businessmodel = true; 695 $scope.businessmodel = true;
695 $scope.data.stage = stage; 696 $scope.data.stage = stage;
696 // for right content 697 // for right content
697 $scope.Idea = true; 698 $scope.Idea = true;
698 $scope.Product = false; 699 $scope.Product = false;
699 $scope.Growth = false; 700 $scope.Growth = false;
700 // $scope.Visitor = false; 701 // $scope.Visitor = false;
701 } else if (stage == 'Product') { 702 } else if (stage == 'Product') {
702 $scope.Productshow = "no"; 703 $scope.Productshow = "no";
703 $scope.current = 10; 704 $scope.current = 10;
704 $scope.proto = true; 705 $scope.proto = true;
705 // $scope.visitType = true; 706 // $scope.visitType = true;
706 $scope.prototyp = true; 707 $scope.prototyp = true;
707 $scope.protyp = true; 708 $scope.protyp = true;
708 $scope.market = true; 709 $scope.market = true;
709 $scope.risks = true; 710 $scope.risks = true;
710 $scope.team = true; 711 $scope.team = true;
711 $scope.pitch = true; 712 $scope.pitch = true;
712 $scope.financials = true; 713 $scope.financials = true;
713 $scope.businessmodel = false; 714 $scope.businessmodel = false;
714 $scope.data.stage = stage; 715 $scope.data.stage = stage;
715 // for right content 716 // for right content
716 $scope.Idea = false; 717 $scope.Idea = false;
717 $scope.Product = true; 718 $scope.Product = true;
718 $scope.Growth = false; 719 $scope.Growth = false;
719 // $scope.Visitor = false; 720 // $scope.Visitor = false;
720 } else if (stage == 'Growth') { 721 } else if (stage == 'Growth') {
721 $scope.Productshow = "yes"; 722 $scope.Productshow = "yes";
722 $scope.current = 10; 723 $scope.current = 10;
723 $scope.proto = false; 724 $scope.proto = false;
724 // $scope.visitType = true; 725 // $scope.visitType = true;
725 $scope.prototyp = true; 726 $scope.prototyp = true;
726 $scope.protyp = false; 727 $scope.protyp = false;
727 $scope.market = true; 728 $scope.market = true;
728 $scope.risks = true; 729 $scope.risks = true;
729 $scope.team = true; 730 $scope.team = true;
730 $scope.pitch = true; 731 $scope.pitch = true;
731 $scope.financials = true; 732 $scope.financials = true;
732 $scope.businessmodel = false; 733 $scope.businessmodel = false;
733 // for right content 734 // for right content
734 $scope.Idea = false; 735 $scope.Idea = false;
735 $scope.Product = false; 736 $scope.Product = false;
736 $scope.Growth = true; 737 $scope.Growth = true;
737 // $scope.Visitor = false; 738 // $scope.Visitor = false;
738 // } else if (stage == 'Visitor') { 739 // } else if (stage == 'Visitor') {
739 // $scope.Productshow = "no"; 740 // $scope.Productshow = "no";
740 // $scope.current = 10; 741 // $scope.current = 10;
741 // $scope.proto = false; 742 // $scope.proto = false;
742 // $scope.visitType = false; 743 // $scope.visitType = false;
743 // $scope.prototyp = false; 744 // $scope.prototyp = false;
744 // $scope.protyp = false; 745 // $scope.protyp = false;
745 // $scope.market = false; 746 // $scope.market = false;
746 // $scope.risks = false; 747 // $scope.risks = false;
747 // $scope.team = false; 748 // $scope.team = false;
748 // $scope.pitch = false; 749 // $scope.pitch = false;
749 // $scope.financials = false; 750 // $scope.financials = false;
750 // $scope.businessmodel = false; 751 // $scope.businessmodel = false;
751 // $scope.data.stage = stage; 752 // $scope.data.stage = stage;
752 // // for right content 753 // // for right content
753 // $scope.Idea = false; 754 // $scope.Idea = false;
754 // $scope.Product = false; 755 // $scope.Product = false;
755 // $scope.Growth = false; 756 // $scope.Growth = false;
756 // $scope.Visitor = true; 757 // $scope.Visitor = true;
757 $scope.data.stage = stage; 758 $scope.data.stage = stage;
758 } 759 }
759 760
760 } 761 }
761 762
762 $scope.emailTest = function(s){ 763 $scope.emailTest = function(s){
763 $scope.space = /\s/g.test(s.delegateTarget.value); 764 $scope.space = /\s/g.test(s.delegateTarget.value);
764 console.log("space",$scope.space) 765 console.log("space",$scope.space)
765 766
766 } 767 }
767 // $scope.enterbusiness = function(business) { 768 // $scope.enterbusiness = function(business) {
768 // console.log("business", business); 769 // console.log("business", business);
769 // if (name == undefined) { 770 // if (name == undefined) {
770 // $scope.current = false; 771 // $scope.current = false;
771 772
772 // } else if (name != undefined) { 773 // } else if (name != undefined) {
773 // $scope.current = true; 774 // $scope.current = true;
774 // } 775 // }
775 // } 776 // }
776 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ 777 /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/
777 $scope.stagekeyPress = function() { 778 $scope.stagekeyPress = function() {
778 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); 779 $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)');
779 } 780 }
780 $scope.sectorkeyPress = function() { 781 $scope.sectorkeyPress = function() {
781 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); 782 $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)');
782 } 783 }
783 784
784 $scope.productLaunchkeyPress = function() { 785 $scope.productLaunchkeyPress = function() {
785 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); 786 $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)');
786 } 787 }
787 788
788 $scope.launchPeriodkeyPress = function() { 789 $scope.launchPeriodkeyPress = function() {
789 $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); 790 $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)');
790 } 791 }
791 792
792 $scope.industrykeyPress = function() { 793 $scope.industrykeyPress = function() {
793 $scope.addOther = false; 794 $scope.addOther = false;
794 $scope.hideSelectBox = true; 795 $scope.hideSelectBox = true;
795 $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); 796 $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)');
796 var e = document.getElementById("dataIndustry"); 797 var e = document.getElementById("dataIndustry");
797 var dataIndustry = e.options[e.selectedIndex].value; 798 var dataIndustry = e.options[e.selectedIndex].value;
798 if(dataIndustry == "others") { 799 if(dataIndustry == "others") {
799 $scope.addOther = true; 800 $scope.addOther = true;
800 $scope.hideSelectBox = false; 801 $scope.hideSelectBox = false;
801 } 802 }
802 } 803 }
803 804
804 $scope.industryNamekeyPress = function(firstName) { 805 $scope.industryNamekeyPress = function(firstName) {
805 console.log("lastName==", firstName); 806 console.log("lastName==", firstName);
806 if (firstName == undefined) { 807 if (firstName == undefined) {
807 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 808 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
808 } else { 809 } else {
809 $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); 810 $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)');
810 } 811 }
811 } 812 }
812 813
813 $scope.amountkeyPress = function() { 814 $scope.amountkeyPress = function() {
814 $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); 815 $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)');
815 } 816 }
816 817
817 $scope.firstNamekeyPress = function(name) { 818 $scope.firstNamekeyPress = function(name) {
818 console.log("lastName==", name); 819 console.log("lastName==", name);
819 if (name == undefined) { 820 if (name == undefined) {
820 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); 821 $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)');
821 } else { 822 } else {
822 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); 823 $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)');
823 } 824 }
824 } 825 }
825 826
826 $scope.emailkeyPress = function(email) { 827 $scope.emailkeyPress = function(email) {
827 console.log("email", email); 828 console.log("email", email);
828 if (email == undefined) { 829 if (email == undefined) {
829 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); 830 $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)');
830 } else { 831 } else {
831 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); 832 $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)');
832 } 833 }
833 // $http({
834 // method: 'GET',
835 // url: BASE_URL + '/applicants?filter={"where": {"email": '+email+'%25}}'
836 // // headers: {}
837 // }).then(function mySuccess(searchResult) {
838 // console.log("email===>", searchResult.id)
839 // $scope.getid = searchResult.id;
840 // abc?id
841 // });
842
843 } 834 }
844 835
845 $scope.textCheck = function(){ 836 $scope.textCheck = function(){
846 console.log("Val1:::", $scope.textCheck); 837 console.log("Val1:::", $scope.textCheck);
847 var e = document.getElementById("fundingDiv"); 838 var e = document.getElementById("fundingDiv");
848 var funding = e.options[e.selectedIndex].value; 839 var funding = e.options[e.selectedIndex].value;
849 $scope.Textshow = "no"; 840 $scope.Textshow = "no";
850 if(funding == "yes") { 841 if(funding == "yes") {
851 $scope.Textshow = "yes"; 842 $scope.Textshow = "yes";
852 console.log("Val:::", $scope.Textshow); 843 console.log("Val:::", $scope.Textshow);
853 } 844 }
854 845
855 } 846 }
856 847
857 $scope.productCheck = function(){ 848 $scope.productCheck = function(){
858 console.log("Val2:::", $scope.productCheck); 849 console.log("Val2:::", $scope.productCheck);
859 var e = document.getElementById("productDiv"); 850 var e = document.getElementById("productDiv");
860 var product = e.options[e.selectedIndex].value; 851 var product = e.options[e.selectedIndex].value;
861 $scope.Productshow = "no"; 852 $scope.Productshow = "no";
862 if(product == "yes") { 853 if(product == "yes") {
863 $scope.Productshow = "yes"; 854 $scope.Productshow = "yes";
864 console.log("Val1:::", $scope.Productshow); 855 console.log("Val1:::", $scope.Productshow);
865 } 856 }
866 857
867 } 858 }
868 859
869 $scope.phonekeyPress = function(number) { 860 $scope.phonekeyPress = function(number) {
870 console.log("number", number); 861 console.log("number", number);
871 if (number == undefined || number == '') { 862 if (number == undefined || number == '') {
872 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); 863 $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)');
873 } else { 864 } else {
874 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); 865 $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)');
875 } 866 }
876 } 867 }
877 868
878 $scope.citykeyPress = function(city) { 869 $scope.citykeyPress = function(city) {
879 console.log("city", city); 870 console.log("city", city);
880 if (city == undefined) { 871 if (city == undefined) {
881 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); 872 $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)');
882 } else { 873 } else {
883 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); 874 $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)');
884 } 875 }
885 } 876 }
886 877
887 $scope.startupNamekeyPress = function(q) { 878 $scope.startupNamekeyPress = function(q) {
888 if (q == undefined) { 879 if (q == undefined) {
889 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); 880 $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)');
890 } else { 881 } else {
891 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); 882 $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)');
892 } 883 }
893 } 884 }
894 885
895 $scope.linkedInkeyPress = function(technology) { 886 $scope.linkedInkeyPress = function(technology) {
896 if (technology == undefined || technology == '') { 887 if (technology == undefined || technology == '') {
897 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); 888 $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)');
898 } else { 889 } else {
899 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); 890 $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)');
900 } 891 }
901 } 892 }
902 $scope.companykeyPress = function(problem) { 893 $scope.companykeyPress = function(problem) {
903 if (problem == undefined) { 894 if (problem == undefined) {
904 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); 895 $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)');
905 } else { 896 } else {
906 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); 897 $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)');
907 } 898 }
908 } 899 }
909 $scope.productNamekeyPress = function(solution) { 900 $scope.productNamekeyPress = function(solution) {
910 if (solution == undefined) { 901 if (solution == undefined) {
911 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); 902 $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)');
912 } else { 903 } else {
913 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); 904 $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)');
914 } 905 }
915 } 906 }
916 $scope.businesskeyPress = function(business) { 907 $scope.businesskeyPress = function(business) {
917 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); 908 $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)');
918 } 909 }
919 910
920 $scope.websitekeyPress = function(prototype) { 911 $scope.websitekeyPress = function(prototype) {
921 if (prototype == undefined || prototype == '') { 912 if (prototype == undefined || prototype == '') {
922 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); 913 $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)');
923 } else { 914 } else {
924 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); 915 $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)');
925 } 916 }
926 } 917 }
927 918
928 $scope.employeekeyPress = function(market) { 919 $scope.employeekeyPress = function(market) {
929 if (market == undefined || market == '') { 920 if (market == undefined || market == '') {
930 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); 921 $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)');
931 } else { 922 } else {
932 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); 923 $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)');
933 } 924 }
934 } 925 }
935 926
936 $scope.annualkeyPress = function(risk) { 927 $scope.annualkeyPress = function(risk) {
937 if (risk == undefined || risk == '') { 928 if (risk == undefined || risk == '') {
938 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); 929 $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)');
939 } else { 930 } else {
940 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); 931 $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)');
941 } 932 }
942 } 933 }
943 934
944 $scope.revenuekeyPress = function(team) { 935 $scope.revenuekeyPress = function(team) {
945 if (team == undefined || team == '') { 936 if (team == undefined || team == '') {
946 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); 937 $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)');
947 } else { 938 } else {
948 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); 939 $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)');
949 } 940 }
950 } 941 }
951 942
952 $scope.descriptionkeyPress = function(pitch) { 943 $scope.descriptionkeyPress = function(pitch) {
953 if (pitch == undefined) { 944 if (pitch == undefined) {
954 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); 945 $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)');
955 } else { 946 } else {
956 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); 947 $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)');
957 } 948 }
958 } 949 }
959 950
960 $scope.discountkeyPress = function(discount) { 951 $scope.discountkeyPress = function(discount) {
961 console.log("lastName==", name); 952 console.log("lastName==", name);
962 if (discount == undefined) { 953 if (discount == undefined) {
963 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); 954 $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)');
964 } else { 955 } else {
965 $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); 956 $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)');
966 } 957 }
967 } 958 }
968 959
969 $scope.removeNooError = function() { 960 $scope.removeNooError = function() {
970 $('#invalidIdea').css('display', 'block'); 961 $('#invalidIdea').css('display', 'block');
971 $('#noExist').css('display', 'none'); 962 $('#noExist').css('display', 'none');
972 }; 963 };
973 964
974 $scope.ideakeyPress = function(financial) { 965 $scope.ideakeyPress = function(financial) {
975 console.log("financial", financial); 966 console.log("financial", financial);
976 if (financial == undefined) { 967 if (financial == undefined) {
977 $('#invalidIdea').css('display', 'block'); 968 $('#invalidIdea').css('display', 'block');
978 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); 969 $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)');
979 } else { 970 } else {
980 $('#invalidIdea').css('display', 'none'); 971 $('#invalidIdea').css('display', 'none');
981 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); 972 $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)');
982 } 973 }
983 } 974 }
984 975
985 $scope.fundkeyPress = function(financial) { 976 $scope.fundkeyPress = function(financial) {
986 console.log("financial", financial); 977 console.log("financial", financial);
987 if (financial == undefined) { 978 if (financial == undefined) {
988 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); 979 $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)');
989 } else { 980 } else {
990 $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); 981 $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)');
991 } 982 }
992 } 983 }
993 984
994 $scope.changeReferalIconColor = function(referalToken){ 985 $scope.changeReferalIconColor = function(referalToken){
995 if (referalToken == undefined || referalToken == '') { 986 if (referalToken == undefined || referalToken == '') {
996 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); 987 $('.referel-icon').css('background-color', 'rgb(102, 102, 102)');
997 }else { 988 }else {
998 $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); 989 $('.referel-icon').css('background-color', 'rgb(66, 181, 73)');
999 } 990 }
1000 } 991 }
1001 992
1002 }); 993 });
1003 994
1004 scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { 995 scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) {
1005 $scope.pendingPaymentId = $route.current.params.id 996 $scope.pendingPaymentId = $route.current.params.id
1006 $http({ 997 $http({
1007 method: "GET", 998 method: "GET",
1008 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, 999 url: BASE_URL + '/applicants/' + $scope.pendingPaymentId,
1009 }).then(function mySuccess(response) { 1000 }).then(function mySuccess(response) {
1010 $scope.data = response.data; 1001 $scope.data = response.data;
1011 console.log("response-1", response); 1002 console.log("response-1", response);
1012 $scope.pendingPaymentId = $route.current.params.id; 1003 $scope.pendingPaymentId = $route.current.params.id;
1013 1004
1014 $http({ 1005 $http({
1015 method: "GET", 1006 method: "GET",
1016 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', 1007 url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}',
1017 }).then(function mySuccess(response) { 1008 }).then(function mySuccess(response) {
1018 $scope.paymentRecord = response.data; 1009 $scope.paymentRecord = response.data;
1019 }, function myError(response) { 1010 }, function myError(response) {
1020 }); 1011 });
1021 }, function myError(response) { 1012 }, function myError(response) {
1022 $scope.myWelcome = response.statusText; 1013 $scope.myWelcome = response.statusText;
1023 }); 1014 });
1024 1015
1025 $scope.checkView = false; 1016 $scope.checkView = false;
1026 $scope.verifyView = false; 1017 $scope.verifyView = false;
1027 1018
1028 $scope.pendingPaymentId = ''; 1019 $scope.pendingPaymentId = '';
1029 1020
1030 $scope.update = function() { 1021 $scope.update = function() {
1031 1022
1032 $http({ 1023 $http({
1033 method: 'GET', 1024 method: 'GET',
1034 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', 1025 url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}',
1035 headers: {} 1026 headers: {}
1036 }).then(function mySuccess(searchResult) { 1027 }).then(function mySuccess(searchResult) {
1037 if (searchResult.data[0].status == "created") { 1028 if (searchResult.data[0].status == "created") {
1038 //if (searchResult.data[0].status == "cancelled") { 1029 //if (searchResult.data[0].status == "cancelled") {
1039 $scope.checkView = true; 1030 $scope.checkView = true;
1040 $scope.verifyView = false; 1031 $scope.verifyView = false;
1041 $scope.amount = searchResult.data[0].amount; 1032 $scope.amount = searchResult.data[0].amount;
1042 $scope.searchResult = searchResult.data[0]; 1033 $scope.searchResult = searchResult.data[0];
1043 console.log('====searchResult===', searchResult); 1034 console.log('====searchResult===', searchResult);
1044 console.log("searchResult=====",searchResult.data[0].razorOrderId) 1035 console.log("searchResult=====",searchResult.data[0].razorOrderId)
1045 var i = 0; 1036 var i = 0;
1046 $scope.amount = $scope.amount * 100; 1037 $scope.amount = $scope.amount * 100;
1047 var options = { 1038 var options = {
1048 "key": "rzp_live_mhSE1uOBlXvFyJ", 1039 "key": "rzp_live_mhSE1uOBlXvFyJ",
1049 //"key" : "rzp_test_YwHsVFiDIQ2WUQ", 1040 //"key" : "rzp_test_YwHsVFiDIQ2WUQ",
1050 "amount": $scope.amount, 1041 "amount": $scope.amount,
1051 1042
1052 "name": "Startup Jalsa", 1043 "name": "Startup Jalsa",
1053 "description": "amount", 1044 "description": "amount",
1054 "currency": "INR", 1045 "currency": "INR",
1055 "status": "done", 1046 "status": "done",
1056 1047
1057 "theme": { 1048 "theme": {
1058 "color": "#2196f3 ", 1049 "color": "#2196f3 ",
1059 "image_padding": "NO" 1050 "image_padding": "NO"
1060 }, 1051 },
1061 "modal": { 1052 "modal": {
1062 "ondismiss": function() {} 1053 "ondismiss": function() {}
1063 }, 1054 },
1064 "handler": function(response) { 1055 "handler": function(response) {
1065 createPayment(response); 1056 createPayment(response);
1066 } 1057 }
1067 }; 1058 };
1068 var rzp1 = new Razorpay(options); 1059 var rzp1 = new Razorpay(options);
1069 rzp1.open(); 1060 rzp1.open();
1070 $scope.paymentResponse = {}; 1061 $scope.paymentResponse = {};
1071 function createPayment(response) { 1062 function createPayment(response) {
1072 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount); 1063 Analytics.trackEvent('payment','Successfully Done',$scope.data.email,$scope.paymentResponse.amount);
1073 $scope.amount = $scope.amount / 100; 1064 $scope.amount = $scope.amount / 100;
1074 console.log("response======retepaymen",response); 1065 console.log("response======retepaymen",response);
1075 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; 1066 $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id;
1076 $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; 1067 $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId;
1077 $scope.paymentResponse.amount = $scope.amount; 1068 $scope.paymentResponse.amount = $scope.amount;
1078 $scope.paymentResponse.currency = $scope.searchResult.currency; 1069 $scope.paymentResponse.currency = $scope.searchResult.currency;
1079 $scope.paymentResponse.status = $scope.searchResult.status; 1070 $scope.paymentResponse.status = $scope.searchResult.status;
1080 $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; 1071 $scope.paymentResponse.applicantId = $scope.searchResult.applicantId;
1081 console.log("$scope.paymentResponse", $scope.paymentResponse) 1072 console.log("$scope.paymentResponse", $scope.paymentResponse)
1082 $http({ 1073 $http({
1083 method: 'PUT', 1074 method: 'PUT',
1084 url: BASE_URL + '/payments/' + $scope.searchResult.id, 1075 url: BASE_URL + '/payments/' + $scope.searchResult.id,
1085 data: $scope.paymentResponse, 1076 data: $scope.paymentResponse,
1086 headers: {} 1077 headers: {}
1087 }).then(function mySuccess(searchResult) { 1078 }).then(function mySuccess(searchResult) {
1088 console.log("searchResult--->",searchResult) 1079 console.log("searchResult--->",searchResult)
1089 // if(paymentResult.data.status == "created"){ 1080 // if(paymentResult.data.status == "created"){
1090 // Analytics.trackEvent('payments', 'click', 'Thankyou'); 1081 // Analytics.trackEvent('payments', 'click', 'Thankyou');
1091 // } 1082 // }
1092 console.log("finalsearchResult",searchResult) 1083 console.log("finalsearchResult",searchResult)
1093 $location.path("/confirmation") 1084 $location.path("/confirmation")
1094 }, function myError(error) { 1085 }, function myError(error) {
1095 1086
1096 }); 1087 });
1097 } 1088 }
1098 } else { 1089 } else {
1099 1090
1100 } 1091 }
1101 1092
1102 }, function myError(error) {}); 1093 }, function myError(error) {});
1103 } 1094 }
1104 }); 1095 });
1105 1096
1106 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { 1097 scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) {
1107 $scope.data = {}; 1098 $scope.data = {};
1108 $scope.check = false; 1099 $scope.check = false;
1109 $scope.numberCheck = false; 1100 $scope.numberCheck = false;
1110 1101
1111 /*open videos in modal*/ 1102 /*open videos in modal*/
1112 $scope.openyoutube16 = function(){ 1103 $scope.openyoutube16 = function(){
1113 $('#videoModel').modal('show'); 1104 $('#videoModel').modal('show');
1114 } 1105 }
1115 1106
1116 $scope.openyoutube17 = function(){ 1107 $scope.openyoutube17 = function(){
1117 $('#videoModels').modal('show'); 1108 $('#videoModels').modal('show');
1118 } 1109 }
1119 1110
1120 $scope.closeModal = function(){ 1111 $scope.closeModal = function(){
1121 var url = $('#youtubePlayer').attr('src'); 1112 var url = $('#youtubePlayer').attr('src');
1122 $('#youtubePlayer').attr('src', ''); 1113 $('#youtubePlayer').attr('src', '');
1123 $('#youtubePlayer').attr('src', url); 1114 $('#youtubePlayer').attr('src', url);
1124 } 1115 }
1125 /*open videos ends here*/ 1116 /*open videos ends here*/
1126 1117
1127 $scope.removeError = function() { 1118 $scope.removeError = function() {
1128 console.log("doooo") 1119 console.log("doooo")
1129 $('#invalidEmail').css('display', 'none'); 1120 $('#invalidEmail').css('display', 'none');
1130 $('#alreadyExist').css('display', 'none'); 1121 $('#alreadyExist').css('display', 'none');
1131 }; 1122 };
1132 1123
1133 // $scope.emailcheck = function(val) { 1124 // $scope.emailcheck = function(val) {
1134 // consol.log("kdsbd") 1125 // consol.log("kdsbd")
1135 // $scope.space = /\s/g.test(val); 1126 // $scope.space = /\s/g.test(val);
1136 // console.log("space",$scope.space) 1127 // console.log("space",$scope.space)
1137 // if (val == undefined) { 1128 // if (val == undefined) {
1138 // $('#invalidEmail').css('display', 'block'); 1129 // $('#invalidEmail').css('display', 'block');
1139 // } else { 1130 // } else {
1140 // $http({ 1131 // $http({
1141 // method: 'GET', 1132 // method: 'GET',
1142 // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', 1133 // url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}',
1143 // headers: {} 1134 // headers: {}
1144 // }).then(function mySuccess(searchResult) { 1135 // }).then(function mySuccess(searchResult) {
1145 // console.log("searchResult1===>", searchResult) 1136 // console.log("searchResult1===>", searchResult)
1146 // if (searchResult.data.length == 0) { 1137 // if (searchResult.data.length == 0) {
1147 // $scope.check = false; 1138 // $scope.check = false;
1148 // } else { 1139 // } else {
1149 // $scope.check = true; 1140 // $scope.check = true;
1150 // $('#alreadyExist').css('display', 'block'); 1141 // $('#alreadyExist').css('display', 'block');
1151 // } 1142 // }
1152 // }, function myError(error) {}); 1143 // }, function myError(error) {});
1153 // } 1144 // }
1154 // }; 1145 // };
1155 1146
1156 // $scope.removeNoError = function() { 1147 // $scope.removeNoError = function() {
1157 // $('#invalidNumber').css('display', 'none'); 1148 // $('#invalidNumber').css('display', 'none');
1158 // $('#noExist').css('display', 'none'); 1149 // $('#noExist').css('display', 'none');
1159 // }; 1150 // };
1160 1151
1161 // $scope.numbercheck = function(number) { 1152 // $scope.numbercheck = function(number) {
1162 // // if (val == undefined) { 1153 // // if (val == undefined) {
1163 // // $('#invalidNumber').css('display', 'block'); 1154 // // $('#invalidNumber').css('display', 'block');
1164 // // } else { 1155 // // } else {
1165 // $http({ 1156 // $http({
1166 // method: 'GET', 1157 // method: 'GET',
1167 // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', 1158 // url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}',
1168 // data: $scope.data, 1159 // data: $scope.data,
1169 // headers: {} 1160 // headers: {}
1170 // }).then(function mySuccess(searchResult) { 1161 // }).then(function mySuccess(searchResult) {
1171 // console.log("searchResult===>", searchResult) 1162 // console.log("searchResult===>", searchResult)
1172 // if (searchResult.data.length == 0) { 1163 // if (searchResult.data.length == 0) {
1173 // $scope.numberCheck = false; 1164 // $scope.numberCheck = false;
1174 // } else { 1165 // } else {
1175 // $scope.numberCheck = true; 1166 // $scope.numberCheck = true;
1176 // $('#noExist').css('display', 'block'); 1167 // $('#noExist').css('display', 'block');
1177 // } 1168 // }
1178 // }, function myError(error) {}); 1169 // }, function myError(error) {});
1179 // //} 1170 // //}
1180 1171
1181 // }; 1172 // };
1182 1173
1183 $scope.submit = function() { 1174 $scope.submit = function() {
1184 console.log($scope.data.name) 1175 console.log($scope.data.name)
1185 var randomNumber = ""+Math.random(); 1176 var randomNumber = ""+Math.random();
1186 var nameSpliced = $scope.data.name.slice(0,3); 1177 var nameSpliced = $scope.data.name.slice(0,3);
1187 var numberSpliced = randomNumber.slice(2,5); 1178 var numberSpliced = randomNumber.slice(2,5);
1188 $scope.data.referalToken = nameSpliced+numberSpliced; 1179 $scope.data.referalToken = nameSpliced+numberSpliced;
1189 $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); 1180 $scope.data.referalToken = $scope.data.referalToken.toUpperCase();
1190 1181
1191 $http({ 1182 $http({
1192 method: 'POST', 1183 method: 'POST',
1193 url: BASE_URL + '/ambassadors', 1184 url: BASE_URL + '/ambassadors',
1194 data: $scope.data, 1185 data: $scope.data,
1195 headers: {} 1186 headers: {}
1196 }).then(function mySuccess(result) { 1187 }).then(function mySuccess(result) {
1197 console.log("result", result) 1188 console.log("result", result)
1198 $scope.detail = result; 1189 $scope.detail = result;
1199 $('#myModal').modal('show'); 1190 $('#myModal').modal('show');
1200 $scope.data.name = ''; 1191 $scope.data.name = '';
1201 $scope.data.email = ''; 1192 $scope.data.email = '';
1202 $scope.data.mobile = ''; 1193 $scope.data.mobile = '';
1203 // $scope.data.discount = ''; 1194 // $scope.data.discount = '';
1204 1195
1205 }, function myError(error) { 1196 }, function myError(error) {
1206 console.log(error) 1197 console.log(error)
1207 console.log(error.data.error.message) 1198 console.log(error.data.error.message)
1208 }); 1199 });
1209 console.log($scope.data) 1200 console.log($scope.data)
1210 } 1201 }
1211 }); 1202 });
1212 1203
1213 1204
1214 1205