Person, I have a simple form where the user should enter the time.
<form name="formAgendamento" class="formAgendamento">
<label>Dia</label>
<input class="form-control dia" type="date" name="dia" ng-model="agendamento.dia" required>
<label>Hora</label>
<input class="form-control hora" type="time" name="hora" ng-model="agendamento.hora" required>
<button class="btn btn-primary" ng-disabled="formAgendamento.$invalid" ng-click="agendar(agendamento)">Agendar</button>
</form>
But the time goes in the following format for the angle:
Ineedonlyhoursandminutes(17:17)...HowdoIgetjustthisdata?I'mtryingtousethe"split ()" of the javascript, but in the console a warning appears saying that split is not a function.