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,
});
Other angular related blogs :
1 comment:
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.
Post a Comment