<script>
$(function() {
$('#time').timepicker({change: function(time) {
// the input field
$scope.time = time;
if (!$scope.$$phase) $scope.$apply();
}});
$('#time1').timepicker({change: function(time) {
// the input field
$scope.time1 = time;
if (!$scope.$$phase) $scope.$apply();
}});
});
<script>
You need to put this code in angular js controller to set values in model instead of putting in HTML.