Commit 7e3bb101848a7e37d7626f7ab829f8e2e86cf82a

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

field added

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