Questions tagged [ng-dialog]

ngDialog is a modal and popup provider for Angular.js. It aims to be minimalistic, easily theme-able, and dependency-free. Use this tag for questions related to the use of ngDialog.

ngDialog is licensed under the MIT license. More information, including a demo, is available on the ngDialog website.

161 questions
0
votes
1 answer

Angular and ngDialog issue where data is not showing though dialog is shown correctly

I am using Angular / Typescript with ng-Dialog. In this stage the ng-Dialog is showing the template correctly the way I want it. However, no data is shown. The scenario is this: I have a detail page that shows all the contacts list. The user clicks…
user1829319
  • 691
  • 1
  • 8
  • 22
0
votes
1 answer

Pass angular object property to ngDialog open()?

Is there a way to pass an angular object property to ngDialog modal window? It seems you cannot pass it like you can in normal html: {{ member.name }}
In the…
Juha Untinen
  • 1,806
  • 1
  • 24
  • 40
0
votes
1 answer

ngDialog - Body class not changing on open/close of a dialog in Chrome

I'm using ngDialog to display a pop-up in my AngularJS web app. I'm having a peculiar problem that only happens in Chrome about 20% of the time. Firefox and IE don't have this issue. When the dialog is open, ngDialog appends class="ngdialog-open" to…
mjoyce91
  • 316
  • 2
  • 19
0
votes
1 answer

Prevent div to not overlay scrollbar on its parent div

Context: I am trying to solve an issue as mention here: https://github.com/likeastore/ngDialog/issues/94 Problem: Open plnkr: http://plnkr.co/edit/qKJiNwyivqJVCAtyhwYR?p=preview and try to hold and drag scrollbar with mouse. The scrollbar on the…
monish001
  • 671
  • 2
  • 8
  • 20
0
votes
1 answer

Ng-dialog - close child modal

I have a parent dialog that will open another child dialog. I have the function to open a ngDialog function addNewImageModal(rel) { $scope.rel = rel; ngDialog.open({ template: 'partials/image_modal.jade', className:…
Richard Mc
  • 162
  • 1
  • 14
0
votes
3 answers

Open ngDialog on button click from directive

I have a button in my directive that is supposed to open a configuration ngDialog. Here is my code for theme.html directive:
faizanjehangir
  • 2,771
  • 6
  • 45
  • 83
0
votes
1 answer

angularjs ngdialog is not working

I am using angularjs in my application, by using ngDialog the page is not loading and shows blank page I have used like angular.module('pswApp', ['ngRoute', 'ngAnimate', 'ngTouch', 'ngDialog', 'ui.grid',…
0
votes
1 answer

Can't use ngDialog due to TypeError: ngDialog.open is not a function at Scope.$scope.discountModalOpen?

I can't seem to use ngDialog with angular. here is my code discountModal Function $scope.discountModalOpen = function () { ngDialog.open({ template: 'views/discountModal.html', controller: 'ModalInstanceCtrl', scope: $scope …
Abhinav Singh
  • 7,880
  • 1
  • 23
  • 33
0
votes
0 answers

form in ngdialog - undefined name of form in controller

I can't get the name of a form which is in ngDialog. My dialog is: $scope.dialogAddNewParent = ngDialog.open({ template: 'addNewParentDialog', className: 'ngdialog-theme-default dialogwidth550', scope:…
Steven Lignos
  • 217
  • 3
  • 10
0
votes
3 answers

datepicker with ngdialog in angularjs

Is there any datepicker angularjs module available which can be used with ngdialog and works well with all three browsers (IE, FF and Chrome)? I know I might be asking duplicate question but I have gone through lot of stackoverflow threads and found…
TechnoCrat
  • 2,055
  • 4
  • 23
  • 35
0
votes
1 answer

Update data in ngDialog

I am using ngDialog in my project with data from my scope. I have a scope object named popupConge that I link to data of ngDialog : ngDialog.open({ template: 'saisieCongeModalPanel', className: 'ngdialog-theme-default width800', …
jojo____
  • 247
  • 3
  • 16
0
votes
1 answer

ngdialog template is being opened

i am using plain ng-dialog for showing popup in my mvc4 application along with Angular. here is my code var myAPP = angular.module('myAPP', [ 'ngSanitize', 'jsonDateFilters', 'timer', 'ngDialog']); myAPP.config(function ($provide, …
Rutu
  • 147
  • 2
  • 10
0
votes
1 answer

Apply css based on condition in ngDialog open

How to apply class based on condition isErrored to be true or false. The below code is not working: $scope.addWork = function() { var isErrored = false; $rootScope.$on('isErrored', function(event, data) { alert(data); …
sjain
  • 23,126
  • 28
  • 107
  • 185
0
votes
1 answer

Chrome/Webkit UI repaint issue when showing a modal window (ngDialog)

I'm working on a hybrid app using Cordova, Bootstrap and Angular JS (1.3.x) and testing it in a Chrome desktop browser and on a Android device (lollipop, 5.0.2). In a particular view, I open a modal window using ngDialog. The content in this dialog…
martinoss
  • 5,268
  • 2
  • 45
  • 53
0
votes
1 answer

AngularJS: Create two way binding $scope with ngDialog?

I call ngDialog in mainController with option controller: 'otherController' and this gives me the ability to use the mainController $scope in otherController, but none of the $scope variables created in otherController are available for the…
Marin Takanov
  • 1,079
  • 3
  • 19
  • 36
1 2 3
10
11