I\'m using AngularUI to integrate Bootstrap components in my Angular 1.4 app, such as Modals.
I\'m calling a Modal in my controller like so:
var mod
Simply you can do like this, first close the modal u have opened
$('#nameOfModal').modal('hide');
basically id of modal Second this to remove if any
$('body').removeClass('modal-open');
lastly to close backdrop
$('.modal-backdrop').remove();