Closing Twitter Bootstrap Modal From Angular Controller

后端 未结 8 823
时光说笑
时光说笑 2020-12-12 21:26

I have a modal window that I use to present a form to users. They enter the information and then press a button the has an ng-click. The server processes the request and s

8条回答
  •  半阙折子戏
    2020-12-12 21:51

    You can add data-dismiss="modal" to your button attributes which call angularjs funtion.

    Such as;

    
    

提交回复
热议问题