As given in the link http://angular-ui.github.io/bootstrap ( select modal from Directive drop down on top), there is a parameter called windowTemplateUrl which is used to over
This is how windowTemplateUrl is working
$scope.open = function () {
var modalInstance = $modal.open({
templateUrl:'myModalContent.html',
windowTemplateUrl: 'customModal.html',
controller: 'ModalInstanceCtrl',
resolve: {
params: function(){
return {
title: 'Custom title 2'
};
}
}
});
};
Original version of angular-ui (not working)
Modificated version of angular-ui (working)