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 !!

1 comment:

Emily Smith said...

Very useful article! To support Angular Web Development I would also like to share that 968,139 live websites are using Angular JS. Constantly, Top Angular Web Development Company are growing rapidly with the increasing demands of Angular Web development.

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...