Today we are talking about a dialog. If you wish to add a modal dialog or a simple popup in AngularJS application, then the ngDialog module provide easy and simple way. It is a module for AngularJS to create highly customizable modal and popup window for your application. You can be done fast action for ADD/EDIT or show any information to user. It is responsive and its provide us some simple methods, here is the sample example and links for ngDialog.
Example :
var app = angular.module('exampleApp', ['ngDialog']); app.controller('MainCtrl', function ($scope, ngDialog) { $scope.clickToOpen = function () { ngDialog.open({ template: 'popupTmpl.html', className: 'ngdialog-theme-default' }); }; });
Links :