angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.3k stars 6.74k forks source link

$uibModal dit'nt throw exception message #6627

Open Andyczc opened 6 years ago

Andyczc commented 6 years ago

The issues forum is NOT for support requests. It is for bugs and feature requests only. Please read https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md and search existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.

Bug description:

I use uibModal opens a modal dialog, I need to inject some services in controller, through resolve passed in from outside, but I don't injected existing data services, the modal dialog will not pop up normally, also won't prompt error message, is there a way to prompt error message?

Link to minimally-working plunker that reproduces the issue:

Steps to reproduce the issue:

Version of Angular, UIBS, and Bootstrap

Angular: 1.6+

UIBS:

Bootstrap: 3.0

Andyczc commented 6 years ago

default

default

atul329 commented 6 years ago

I am also getting the same issue. Modal doesn't get popped up and no error message is observed.