Thursday, January 7, 2016

Angularjs Model or Popup window by ngDialog API

ngDialog  API is used to provide Popup and Model window for Angulajs application. This API has open() method to open dialog window or creates new dialog instance.

.open (options):

This method is used to open dialog window, creates new dialog instance on each call. It accepts options object as the only argument.
       
 ngDialog.open({
                template: ‘url’,
                className:’cssStyle’,
                scope: $scope,  --->  pass current controller scope object to dialog
                showClose: false,
                overlay: true,
                closeByEscape: false,
            });

additional source : https://github.com/likeastore/ngDialog
Other angular related blogs :

Thanks for Visiting !!

No comments:

SQL Server - Identify unused indexes

 In this blog, we learn about the index usage information (SYS.DM_DB_INDEX_USAGE_STATS) and analyze the index usage data (USER_SEEKS, USER_S...