Answers for "angularjs popup"

0

angularjs popup

angular.module('PopupDemo').controller('PopupDemoCont', ['$scope','$modal',function ($scope, $modal) {
$scope.open = function () {
console.log('opening pop up');
var modalInstance = $modal.open({
templateUrl: 'popup.html',
controller: 'PopupCont',
});
}
}]);
Copy
Posted by: Guest on March-25-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language