Miss Doubtfire
Miss Doubtfire

Reputation: 43

How do I open a modal on top of another using AngularJS?

I'm curently working on this piece of code, since i have a loader integrated in my site, the loader clashes with the modals, so i open the modal from my controller. my problem is if click open the modal it opens behind the current modal, whereas i want it displayed on top.

Upvotes: 0

Views: 591

Answers (2)

Mihail Petkov
Mihail Petkov

Reputation: 1545

Most probably you should add z-index to your main modal popup div.

You can try ngBootbox. It's a library for popups.

Upvotes: 0

Mihail Stancescu
Mihail Stancescu

Reputation: 4138

You should change the z-index css property for the modal and/or the loader.

Upvotes: 1

Related Questions