How to use Bootstrap 3 Datepicker in angular 2
问题 I am using Bootstrap 3 in the angular 2. But can't find any helpful demo or examples from online docs. When I add time picker in the template as following: <div class='input-group date' id='datetimepicker3'> <input type='text' class="form-control" #datePicker [ngModel]="f.ArrivalTime" (blur)="date = datePicker.value" /> <span class="input-group-addon"> <span class="glyphicon glyphicon-time"></span> </span> <script type="text/javascript"> $(function () { $('#datetimepicker3').datetimepicker({