简体   繁体   English

$ http请求后,AngularJS引导模态不起作用

[英]After $http request AngularJS bootstrap modal not working

I want to create a pop-up modal within my angular page. 我想在我的角度页面中创建一个弹出模式。 I found the code on this site , and it is working fine. 我在此站点上找到了代码,并且工作正常。 However, I also have a button for http request on the same angular page, and after the http request preforms, the angularjs modal no longer works. 但是,我在同一个角度页面上也有一个用于http请求的按钮,并且在http请求预执行后,angularjs模态不再起作用。

I receive the following error in my conolse: 我在conolse中收到以下错误:

GET http://localhost:8080/SampleApp/myModalContent.html 404 (Not Found)

I think myModalContent.html isn't exist in SampleApp folder. 我认为myAppalContent.html在SampleApp文件夹中不存在。 Be sure. 确定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM