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

how to max and min the ngdialog by on click inside of ngdialog popup

this is my ngcontolller code $scope.openModalContant = function () { ngDialog.open({ template: 'myModalContent.html', scope: $scope, showClose: true, closeByDocument: false, …
0
votes
1 answer

ng-dialog not rendering UI outside viewport

I have this strange UI issue using ng-dialog in my application. The UI outside initial UI that is not visible at the launch of the dialog, is not loaded automatically on scrolling down in the dialog screen. I need to click on the elements to make…
user1242321
  • 1,578
  • 2
  • 18
  • 30
0
votes
2 answers

ngDialog closes all the active modals

I am having a problem with ngDialog (https://github.com/likeastore/ngDialog), I have 1 dialog open and when the user clicks a button it pops up another modal on top as an alert. I want to close the alert dialog via a button but when I use…
Ben
  • 303
  • 1
  • 6
  • 18
0
votes
1 answer

angular js ngdialog scrollbar

I am using ng-dialog to display the popup. The problem i am facing with ng-dialog is there is no vertical scroll bar on the dialog box when the message is huge but scroll bar appearing for the entire html page. Is there a way i can bring the scroll…
mike
  • 377
  • 1
  • 9
  • 22
0
votes
2 answers

How to pass the value to one controller to another controller in angularjs?

Here the Sample Link I tried to Implement Modal window. I find some sample from online and I Implemented. Here I Added the Sample file for modal window. which is working fine. what I exactly need is while open the model window I will call this…
0
votes
1 answer

Id taken as file path for the template passed into ngDialog.open()

I am using ngDialog.open() to open a dialog. I want to pass in the template id to the function like this: ngDialog.open({template: 'templateid'}); However, from the Network history, I find it is trying to fetch the templateid as a file on server.…
gm2008
  • 4,245
  • 1
  • 36
  • 38
0
votes
1 answer

Accessing $scope of another controller - ngDialog in AngularJS

I'm instantiating ngDialog like below; ngDialog.open({ template: 'mod-details', className: "ngDialog-theme-large", showClose: false, closeByDocument: false, closeByEscape: false, controller: ['$scope', function($scope) { …
moh_abk
  • 2,064
  • 7
  • 36
  • 65
0
votes
1 answer

Accessing controller variables and functions - ngDialog

I've created an ngDialog but I can't seem to access variables and functions in my controller within it. This is my code; ngDialog.open({ template: 'mod-details', className: "ngDialog-theme-large", showClose: false, closeByDocument:…
moh_abk
  • 2,064
  • 7
  • 36
  • 65
0
votes
1 answer

Update the app's main scope object with dialog box inputs

In my application, I am trying to update the dialog box's text input value into the main controller. $scope.dialogText in main controller is set to the dialog box's text input. Say, I enter pumpkin in the dialog, and press ok, my app must…
user2879704
0
votes
1 answer

How do i access ngDialog data property in view

I am using ngDialog. I am setting its data property value. Problem: I am not sure how can i access data value in my view. This is how i am setting ngDialog.openConfirm. myName have value. ngDialog.openConfirm({ template:…
TheKingPinMirza
  • 7,924
  • 6
  • 51
  • 81
0
votes
2 answers

How to get data in ng-Dialog Modal in angularJS

Hi i am new to angular JS the problem is i am getting all the data in table listing by mysqldatabase in form of json array but i want to show that table data in Modal as well for details: Here is my html i am including the file in bottom of the…
usman ahmad
  • 115
  • 1
  • 3
  • 18
0
votes
1 answer

Angularjs - Prevent non-abstract parent state loading again when child state is called

I'm trying to create a modal which will maintain a state. Whenever the child state is invoked, the parent state is loaded again (second time). Is it possible to prevent the loading of parent state when the child state is invoked? Here is the code.…
kvn
  • 2,210
  • 5
  • 20
  • 47
0
votes
3 answers

ngDialog modal does not pop up

I am trying to display a simple modal on click of a button. The modal does not pop up. It displays the contents on the same existing window.(snapshot attached) My Code is below: index.html
MDK
  • 1
  • 1
0
votes
0 answers

ngDialog modal closes on click

I want to open a form in modal, where user can input few things and that stuff will be saved in backend. I came across this plunk which implements this thing. But when i try to click anywhere to make an input, modal closes. I tried this in my local…
rajya vardhan
  • 1,121
  • 4
  • 16
  • 29
0
votes
1 answer

ngDialog - Difference between open and openConfirm

I only know open and openConfirm has little difference on the default options when opening a dialog, like openConfirm Opens a dialog that by default does not close when hitting escape or clicking outside the dialog window. Do they have any other…
huan feng
  • 7,307
  • 2
  • 32
  • 56