Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
756 views

AngularJS UI-Bootstrap modal passing parameters to modal

I'm trying since couple of days to open a modal and passing it some parameters based on the link the user will click. I'm using AngularJS 1.5.8 and UI-Bootstrap 2.1.3 with Bootstrap CSS 3.3.7. I'm ...
john_v's user avatar
  • 21
0 votes
1 answer
563 views

Prevent bootstrap modal from closing when inputs are not filled

I have a grid of students and a button. When a user clicks it, a new modal is shown. In the modal there are some inputs and a button "save". When a user clicks save via angular, the new student is ...
sabadvali's user avatar
1 vote
1 answer
544 views

Leaflet map not showing properly in bootstrap 3.6 modal

When I try to display the map in my modal I get this: I have nothing in my controller angularJS and this is my html: <leaflet lf-center="japan" geojson="geojson" geojson-nested="true" height="...
Rajeun's user avatar
  • 721
0 votes
1 answer
3k views

Reusing a single modal to display dynamic content for a number of modules in angular js

I'm looking to create a stateful app that uses a common modal for a number of modules. On clicking items in a menu, the modal window should open and then I'm hoping to populate the modal with dynamic ...
Michael Wilson's user avatar
0 votes
1 answer
5k views

Reset bootstrap form inside modal

I want to simply clear the fields on a form that exists in a bootstrap modal. I tried this solution by incorporating <button type="reset" class="btn btn-danger">Reset</button> but it ...
adamconkey's user avatar
  • 4,584
2 votes
1 answer
7k views

Displaying a bootstrap Modal dialog from Angular Controller

I'm trying to figure out how I can present a bootstrap modal dialog from my Angular controller. Basically what I have is a table. When the user clicks on a table row I want to present a modal dialog ...
SNV7's user avatar
  • 2,583
0 votes
1 answer
737 views

Toggling a Twitter Bootstrap (3.x) Modal using AngularJS

I've been trying to get a Bootstrap Model to be hidden on load, and then show it after clicking a button, but have been unsuccessful so far. I am pretty new to AngularJS so bear with me if I'm not ...
tugayac's user avatar
  • 159
1 vote
0 answers
198 views

AngularJS <li> Triggering Modal Box

I have am using bootstrap 3.2.0v and trying to trigger a modal box on click of a listed item in an unordered list. The screen darkens but the modal box does not seem to appear in the window. Both ...
Ninja's user avatar
  • 1,052
0 votes
1 answer
757 views

Using angular-modal-service without using bootstrap

I am trying to implement a modal service in my angular app. Now for that I am using Angular-modal-service (http://www.dwmkerr.com/the-only-angularjs-modal-service-youll-ever-need/). The blog says ...
Ateev Chopra's user avatar
  • 1,026
1 vote
0 answers
390 views

Hooking into bootstrap modal close event

I am using AngularJS (and can't use the Angular Bootstrap Modal) and am trying to hook into the hidden event for when my modal is closed. angular.element('#myModal').on('hidden.bs.modal', function (e)...
user1876246's user avatar
  • 1,229
3 votes
1 answer
10k views

How to get angular.js to load content into a modal

I need some help making my solution to this problem more elegant. Summary of app The app is a single-page app using pushstate. The landing page (path: /) contains links to articles (path: /article/:...
voteforpedro's user avatar
3 votes
2 answers
9k views

Angular modal template not displaying

I'm somewhat new to Angular. I am trying to display a Bootstap 3 modal dialog when an invalid user role is detected. I cannot get my modal template to display. The behavior seems to work i.e. I can ...
programmerj's user avatar
  • 1,644