161 questions
0
votes
0
answers
41
views
Checkbox is not displaying in the ngDialog popup
I am using the likeastore\ngDialog library for pop-ups, I am trying to add checkbox in the pop-up but it's not getting displayed.
I tried to update the version from 0.5.7 to 1.4.0 but nothing helped. ...
1
vote
1
answer
1k
views
ngDialog change options while dialog is open
Is it possible to change options of an open dialog?
Specifically, I want to set showClose, closeByEscape and closeByDocument to false.
The reason is that I have a form in the dialog. On clicking ...
3
votes
2
answers
2k
views
how to pass back the data from dialog to controller in angularjs?
below is my first controller
.controller('configManagementCtrl', ['$scope', 'deConfigService', 'ngDialog', '$state', 'notificationService',
function ($scope, deConfigService, ngDialog, $state, ...
0
votes
1
answer
294
views
angular js showing fetched data to ngDialog
I want to fetch data from server and show it to ngDialog dialog box
I an trying following code
var myApp = angular.module('myApp', ['ui.router', 'ngDialog']);
myApp.controller('test', function($...
2
votes
3
answers
995
views
Validate form within ngDialog openConfirm before closing
I have a button that opens an ngDialog.openConfirm. Within that dialog I have a form, which includes a textarea which is required and needs to be a minimum 20 characters.
Here is a simplified version ...
1
vote
1
answer
353
views
How to get result of the last then function in chain of promises when making resolve call with Angular $q?
The problem I am experiencing is a bit hard to explain, and I might getting (Angular) promises wrong, but still...
I am trying to handle the following situation nicely.
In general, let's say I want ...
1
vote
1
answer
79
views
Passing dependencies alongside other services in ngDialog - Angular
I'm opening a dialog which is sorting some of my elements. It has it's own controller and uses some of mutual services.
$scope.openSortDialog = function(category) {
ngDialog.open({
template: '...
1
vote
0
answers
309
views
Search data and display in an open modal dialog containing the input search field
Hi i have created a function to search and fetch client's data from database based on enter account number in a modal dialog input field and if found displays details in the same dialog box. But if ...
1
vote
1
answer
940
views
Return value back from ngDialog
I am using ngDialog. For some reason when I click Close, the closePromise data parameter doesnt return the "Vacancy" object instead the returned value is undefined.
Please advise How do I get the ...
3
votes
2
answers
455
views
Angularjs: ngDialog only binds and modifies with objects; not basic variables.
I've already found a "solution" to this problem; I was just hoping someone might be able to provide a reason why it works.
This jsFiddle demonstrates the problem:
http://jsfiddle.net/s1ca0h9x/137/
...
1
vote
1
answer
2k
views
How to customize close dialog function for ngDialog?
I have to implement a customized close dialog function for close button of ngDialog.
As per requirement in some cases (where there is a form) I have to show another ngDialog confirm popup asking if ...
1
vote
0
answers
159
views
Can we get tab focus on ngdialog close (*) icon?
Code follows
dialog = ngDialog.openConfirm({
scope: scope,
template: 'Templates\\Directives\\errorModal.html',
classname: 'ngdialog-theme-default custom-width',
appendClassName: '...
0
votes
1
answer
443
views
AngulaJS using $rootScope in config phase for ngDialogProvider, or using ngDialogProvider in run phase [duplicate]
I know that you cannot inject $rootScope into the config phase of the application, AND I know that you can inject $rootScope in the run phase, but ngDialogProvider does not inject in the run phase...
...
0
votes
1
answer
876
views
Angular / modal /ngDialog - How to have multiple controller in a modal with nested / multiples states / views?
I used ngDialog and have a modal with nested views. Insight my modal I am switching between signup (state) and login (login) so I need to include controller for signup and one for login. I have been ...
0
votes
2
answers
843
views
ngDialog opening multiple times
First time when I click on the link to open the dialog, it is opening only one time. But from the second time, it is opening two times, four times , eight times on second, third, fourth click ...