Categories
AngularJS

NgDialog – Robust Modal Box for AngularJS application

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 :

Github : https://github.com/likeastore/ngDialog

Demo : http://likeastore.github.io/ngDialog

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.