Creating a modal window to load data with AngularJS

前端 未结 4 1054
时光取名叫无心
时光取名叫无心 2021-02-19 18:17

I\'ve been trying to load data inside a modal window using AngularJS but I\'m not sure how to do that. I need the url also to change when the link is clicked and the data to loa

4条回答
  •  不思量自难忘°
    2021-02-19 18:25

    Not sure if this will completely solve your problem but we have a directive wrapper of the bootstrap modal on http://angular-ui.github.com/. Because you are defining your divs in your page, the two-way data binding should just work. In regards to the url link to change, I'm not sure why you would want this since this is a modal control.

    Angular-ui group has an angularjs replacement of the js for modal and some other bootstrap controls see here

    --dan

提交回复
热议问题