0
Looking at the bootstrap documentation I saw that it has a specific method to hide the modal via jquery:
.modal('hide')
$('#myModal').modal('hide')
The problem is that I use angular, so I need a way to call this function through typescript. Using jquery in my scenario is not feasible and I need to remove via typescript as it will only be closed after successful http request.