In the process of GUI program development, modal dialogs and non-modal dialogs are often involved. Next, I will introduce you to the AngularJS modal dialog box through this article. If you are interested, let's take a look at the concept of modal dialog box and non-modal dialog box in the Process of GUI program development.
Modal Dialog Box: During the sub-interface activity, the parent window cannot respond to messages. Exclusive user input
Non-Modal Dialog Box: no effect between windows
The main difference is that non-modal dialog boxes and apps share message loops and do not exclusively occupy users.
Modal Dialog Box exclusive user input, other interfaces cannot respond
Content
Angular JS implementation mode dialog box. Based on AngularJS v1.5.3 and Bootstrap v3.3.6.
Project Structure
Figure 1 Project Structure
Running result
Figure 1 running result: Large Mode
Index.html
AngularJS Modal Dialog Box