Angularjs Bootstrap Modal Directive Example
Angularjs form inside bootstrap modal popup step By Step Example
How to Create a Dynamic Modal Directive in Minutes using Angular and UI Bootstrap Example
How to Create a Dynamic Modal Directive in Minutes using Angular and UI Bootstrap Example
var liveapp = angular.module("liveapp", ['ui.bootstrap']);
liveapp.controller('livectrl', ['$scope', '$modalInstance', '$modal',
function ($scope, $modalInstance, $modal) {
$scope.open = function () {
debugger;
var modalInstance = $modal.open();
$scope.ok = function () {
$modalInstance.close();
};
$scope.cancel = function () {
$modalInstance.dismiss('cancel');
};
}
}
]);